[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:26:00 GMT 2008
------- Comment #2 from jakub at gcc dot gnu dot org 2008-09-26 05:25 -------
Subject: Bug 37645
Author: jakub
Date: Fri Sep 26 05:23:48 2008
New Revision: 140681
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140681
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:
branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/pr37645.c
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/c-common.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37645
More information about the Gcc-bugs
mailing list