OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Daily bump.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
ipa-pure-const.c
diff --git
a/gcc/ipa-pure-const.c
b/gcc/ipa-pure-const.c
index
82e24cf
..
e8b21f9
100644
(file)
--- a/
gcc/ipa-pure-const.c
+++ b/
gcc/ipa-pure-const.c
@@
-652,7
+652,8
@@
check_stmt (gimple_stmt_iterator *gsip, funct_state local, bool ipa)
print_gimple_stmt (dump_file, stmt, 0, 0);
}
- if (gimple_has_volatile_ops (stmt))
+ if (gimple_has_volatile_ops (stmt)
+ && !gimple_clobber_p (stmt))
{
local->pure_const_state = IPA_NEITHER;
if (dump_file)