Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
425b784f
Commit
425b784f
authored
12 years ago
by
Jan Hubicka
Committed by
Jan Hubicka
12 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ipa-pure-const.c (check_stmt): Fix debug info formatting.
From-SVN: r193245
parent
443ca5fc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
gcc/ChangeLog
+4
-0
gcc/ipa-pure-const.c
+8
-5
No files found.
gcc/ChangeLog
View file @
425b784f
2012
-
11
-
06
Jan
Hubicka
<
jh
@suse
.
cz
>
*
ipa
-
pure
-
const
.
c
(
check_stmt
)
:
Fix
debug
info
formatting
.
2012
-
11
-
06
Uros
Bizjak
<
ubizjak
@gmail
.
com
>
*
config
/
i386
/
i386
.
c
(
TARGET_INSTANTIATE_DECLS
)
:
New
define
.
This diff is collapsed.
Click to expand it.
gcc/ipa-pure-const.c
View file @
425b784f
...
...
@@ -671,15 +671,18 @@ check_stmt (gimple_stmt_iterator *gsip, funct_state local, bool ipa)
if
(
cfun
->
can_throw_non_call_exceptions
)
{
if
(
dump_file
)
fprintf
(
dump_file
,
" can throw; looping"
);
fprintf
(
dump_file
,
" can throw; looping
\n
"
);
local
->
looping
=
true
;
}
if
(
stmt_can_throw_external
(
stmt
))
{
if
(
dump_file
)
fprintf
(
dump_file
,
" can throw externally"
);
fprintf
(
dump_file
,
" can throw externally
\n
"
);
local
->
can_throw
=
true
;
}
else
if
(
dump_file
)
fprintf
(
dump_file
,
" can throw
\n
"
);
}
switch
(
gimple_code
(
stmt
))
{
...
...
@@ -691,7 +694,7 @@ check_stmt (gimple_stmt_iterator *gsip, funct_state local, bool ipa)
/* Target of long jump. */
{
if
(
dump_file
)
fprintf
(
dump_file
,
" nonlocal label is not const/pure"
);
fprintf
(
dump_file
,
" nonlocal label is not const/pure
\n
"
);
local
->
pure_const_state
=
IPA_NEITHER
;
}
break
;
...
...
@@ -699,14 +702,14 @@ check_stmt (gimple_stmt_iterator *gsip, funct_state local, bool ipa)
if
(
gimple_asm_clobbers_memory_p
(
stmt
))
{
if
(
dump_file
)
fprintf
(
dump_file
,
" memory asm clobber is not const/pure"
);
fprintf
(
dump_file
,
" memory asm clobber is not const/pure
\n
"
);
/* Abandon all hope, ye who enter here. */
local
->
pure_const_state
=
IPA_NEITHER
;
}
if
(
gimple_asm_volatile_p
(
stmt
))
{
if
(
dump_file
)
fprintf
(
dump_file
,
" volatile is not const/pure"
);
fprintf
(
dump_file
,
" volatile is not const/pure
\n
"
);
/* Abandon all hope, ye who enter here. */
local
->
pure_const_state
=
IPA_NEITHER
;
local
->
looping
=
true
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment