diff options
Diffstat (limited to 'gcc/ipa-reference.c')
-rw-r--r-- | gcc/ipa-reference.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-reference.c b/gcc/ipa-reference.c index 98a4ce7..f00377f 100644 --- a/gcc/ipa-reference.c +++ b/gcc/ipa-reference.c @@ -306,7 +306,7 @@ has_proper_scope_for_analysis (tree t) { /* 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)) return false; /* Do not want to do anything with volatile except mark any |