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++/28152] Diagnostic about wrong use _Complex prints __complex__



------- Comment #9 from manu at gcc dot gnu dot org  2009-05-04 12:48 -------
Subject: Bug 28152

Author: manu
Date: Mon May  4 12:47:53 2009
New Revision: 147097

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147097
Log:
2009-05-04  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

        PR c++/28152
cp/     
        * parser.c (cp_lexer_get_preprocessor_token):  Do not store the
        canonical spelling for keywords.
        (cp_parser_attribute_list): Use the canonical spelling for
        keywords in attributes.
testsuite/
        * g++.dg/parse/parser-pr28152.C: New.
        * g++.dg/parse/parser-pr28152-2.C: New.


Added:
    trunk/gcc/testsuite/g++.dg/parse/parser-pr28152-2.C
    trunk/gcc/testsuite/g++.dg/parse/parser-pr28152.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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