[Bug c++/52906] [4.7/4.8 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
Wed Apr 11 17:55:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52906
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2012-04-11 17:55:23 UTC ---
Author: jason
Date: Wed Apr 11 17:55:12 2012
New Revision: 186345
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186345
Log:
PR c++/52906
* decl.c (check_tag_decl): Don't complain about attributes if we
don't even have a type.
Added:
trunk/gcc/testsuite/g++.dg/ext/attrib45.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list