OSDN Git Service

PR objc/43061
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Feb 2010 19:06:38 +0000 (19:06 +0000)
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Feb 2010 19:06:38 +0000 (19:06 +0000)
commit83a23b050c3e304cdbfe91ddcad06d3a20aff63f
tree7833337ec015312bc0a4f42179ae921a7ef30c24
parentd0b5b304bfbdd19e465aa12c0603d96c9d841a9a
    PR objc/43061
        * cgraphunit.c (process_function_and_variable_attributes): Check
DECL_PRESERVE_P instead of looking up attribute "used".
        * ipa-pure-const.c (check_decl): Likewise.
        * ipa-reference.c (has_proper_scope_for_analysis): Likewise.
        * ipa-type-escape.c (has_proper_scope_for_analysis): Likewise.
        * config/sol2.c (solaris_insert_attributes): Set DECL_PRESERVE_P
        instead of attribute "used".
        * config/sol2-c.c (solaris_pragma_init): Likewise.
        (solaris_pragma_fini): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156907 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraphunit.c
gcc/config/sol2-c.c
gcc/config/sol2.c
gcc/ipa-pure-const.c
gcc/ipa-reference.c
gcc/ipa-type-escape.c
gcc/objc/objc-act.c