This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/28343] [4.0/4.1/4.2 regression] ICE with invalid asm specifier for struct member



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]