This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28343] [4.0/4.1/4.2 regression] ICE with invalid asm specifier for struct member
- 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: 14 Jul 2006 09:53:22 -0000
- Subject: [Bug c++/28343] [4.0/4.1/4.2 regression] ICE with invalid asm specifier for struct member
- References: <bug-28343-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from reichelt at gcc dot gnu dot org 2006-07-14 09:53 -------
Subject: Bug 28343
Author: reichelt
Date: Fri Jul 14 09:53:14 2006
New Revision: 115438
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115438
Log:
PR c++/28343
* decl.c (cp_finish_decl): Check asmspec_tree for error_mark_node.
* decl2.c (grokfield): Likewise.
* g++.dg/ext/asmspec1.C: New test.
Added:
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/ext/asmspec1.C
Modified:
branches/gcc-4_0-branch/gcc/cp/ChangeLog
branches/gcc-4_0-branch/gcc/cp/decl.c
branches/gcc-4_0-branch/gcc/cp/decl2.c
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28343