[Bug c++/28387] [4.2 regression] ICE with attribute on invalid declaration
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jul 15 09:22:00 GMT 2006
------- Comment #2 from reichelt at gcc dot gnu dot org 2006-07-15 09:22 -------
Subject: Bug 28387
Author: reichelt
Date: Sat Jul 15 09:22:17 2006
New Revision: 115465
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115465
Log:
PR c++/28387
* decl2.c (cplus_decl_attributes): Check for invalid decls.
* g++.dg/ext/attrib24.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/ext/attrib24.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl2.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28387
More information about the Gcc-bugs
mailing list