[Bug c/37645] [4.2/4.3/4.4 regression] ICE with weakref attribute
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Sep 26 05:12:00 GMT 2008
------- Comment #1 from jakub at gcc dot gnu dot org 2008-09-26 05:10 -------
Subject: Bug 37645
Author: jakub
Date: Fri Sep 26 05:09:29 2008
New Revision: 140680
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140680
Log:
PR c/37645
* c-common.c (handle_weakref_attribute): Ignore the attribute unless
the decl is a VAR_DECL or FUNCTION_DECL.
* gcc.dg/pr37645.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr37645.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-common.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37645
More information about the Gcc-bugs
mailing list