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
PR objc/43061
[pf3gnuchains/gcc-fork.git]
/
gcc
/
ipa-type-escape.c
diff --git
a/gcc/ipa-type-escape.c
b/gcc/ipa-type-escape.c
index
8d9f261
..
8d773f1
100644
(file)
--- a/
gcc/ipa-type-escape.c
+++ b/
gcc/ipa-type-escape.c
@@
-1072,7
+1072,7
@@
has_proper_scope_for_analysis (tree t)
tree type = get_canon_type (TREE_TYPE (t), false, false);
if (!type) return;
- if (
lookup_attribute ("used", DECL_ATTRIBUTES (t)
))
+ if (
DECL_PRESERVE_P (t
))
{
mark_interesting_type (type, FULL_ESCAPE);
return;