This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28112] [4.0/4.1/4.2 regression] ICE with invalid argument in attribute
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jun 2006 17:06:23 -0000
- Subject: [Bug c++/28112] [4.0/4.1/4.2 regression] ICE with invalid argument in attribute
- References: <bug-28112-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from reichelt at gcc dot gnu dot org 2006-06-23 17:06 -------
Subject: Bug 28112
Author: reichelt
Date: Fri Jun 23 17:06:13 2006
New Revision: 114942
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114942
Log:
PR c++/28112
* parser.c (cp_parser_attribute_list): Skip attributes with invalid
arguments. Fix comment.
* g++.dg/ext/attrib23.C: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/ext/attrib23.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/parser.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28112