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
* config/i386/darwin.h (SUBTARGET32_DEFAULT_CPU): Add.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
ipa-pure-const.c
diff --git
a/gcc/ipa-pure-const.c
b/gcc/ipa-pure-const.c
index
31883a2
..
806faf6
100644
(file)
--- a/
gcc/ipa-pure-const.c
+++ b/
gcc/ipa-pure-const.c
@@
-159,7
+159,7
@@
check_decl (funct_state local,
/* If the variable has the "used" attribute, treat it as if it had a
been touched by the devil. */
- if (
lookup_attribute ("used", DECL_ATTRIBUTES (t)
))
+ if (
DECL_PRESERVE_P (t
))
{
local->pure_const_state = IPA_NEITHER;
if (dump_file)