http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46949
--- Comment #4 from Diego Novillo <dnovillo at gcc dot gnu.org> 2011-02-02 17:57:21 UTC --- Author: dnovillo Date: Wed Feb 2 17:57:10 2011 New Revision: 169649 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169649 Log: PR middle-end/46949 * cgraphunit.c (process_common_attributes): Fix use of remove_attribute. (process_function_and_variable_attributes): Check defined weakrefs. * gcc.dg/attr-weakref-4.c: New testcase Added: branches/google/integration/gcc/testsuite/gcc.dg/attr-weakref-4.c Modified: branches/google/integration/gcc/ChangeLog branches/google/integration/gcc/cgraphunit.c branches/google/integration/gcc/testsuite/ChangeLog