This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/46949] [4.6 regression] ICE when weakref is used on a definition (internal compiler error: in function_and_variable_visibility, at ipa.c:904)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46949

--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-27 16:16:44 UTC ---
Author: hubicka
Date: Thu Jan 27 16:16:34 2011
New Revision: 169332

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169332
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:
    trunk/gcc/testsuite/gcc.dg/attr-weakref-4.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cgraphunit.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]