[Bug c++/28112] [4.0/4.1/4.2 regression] ICE with invalid argument in attribute

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jun 23 17:10:00 GMT 2006



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



More information about the Gcc-bugs mailing list