[Bug c++/52906] [4.7 Regression] ICE: SIGSEGV in check_tag_decl (decl.c:4230) with "__attribute__ ((__deprecated__));" alone
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 13 19:47:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52906
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2012-04-13 19:44:21 UTC ---
Author: jason
Date: Fri Apr 13 19:44:15 2012
New Revision: 186435
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186435
Log:
PR c++/52906
* decl.c (check_tag_decl): Don't complain about attributes if we
don't even have a type.
Added:
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/ext/attrib45.C
Modified:
branches/gcc-4_7-branch/gcc/cp/ChangeLog
branches/gcc-4_7-branch/gcc/cp/decl.c
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list