------- Comment #9 from jason at gcc dot gnu dot org  2010-04-14 20:18 -------
Subject: Bug 36625

Author: jason
Date: Wed Apr 14 20:17:34 2010
New Revision: 158355

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158355
Log:
        PR c++/36625
        * c-common.c (attribute_takes_identifier_p): New fn.
        * c-common.h: Declare it.
cp/
        * parser.c (cp_parser_parenthesized_expression_list): Change
        is_attribute_list parm to int to indicate whether or not to
        handle initial identifier specially.
        (cp_parser_attribute_list): Use attribute_takes_identifier_p.

Added:
    trunk/gcc/testsuite/g++.dg/ext/attrib38.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-common.c
    trunk/gcc/c-common.h
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36625

Reply via email to