]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/47190 (ICE: in function_and_variable_visibility, at ipa.c...
authorRichard Guenther <rguenther@suse.de>
Wed, 26 Jan 2011 14:03:54 +0000 (14:03 +0000)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 26 Jan 2011 14:03:54 +0000 (14:03 +0000)
commit768e3c602bb1210ee8076a2b897704579a10727e
tree23e86173693e6e051ef3662dcfc23b2dff6f5b46
parent0418e131cb2f282df950394a77616fe58c361955
re PR tree-optimization/47190 (ICE: in function_and_variable_visibility, at ipa.c:934 with static weakref variable)

PR tree-optimization/47190
 * cgraphunit.c (process_common_attributes): New function.
        (process_function_and_variable_attributes): Use it.
* gcc.dg/attr-weakref-3.c: New testcase.

From-SVN: r169288
gcc/ChangeLog
gcc/cgraphunit.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/attr-weakref-3.c [new file with mode: 0644]