re PR c++/28152 (Diagnostic about wrong use _Complex prints __complex__)
authorManuel López-Ibáñez <manu@gcc.gnu.org>
Mon, 4 May 2009 12:47:53 +0000 (12:47 +0000)
committerManuel López-Ibáñez <manu@gcc.gnu.org>
Mon, 4 May 2009 12:47:53 +0000 (12:47 +0000)
commit67beaaa685fd5a4659cf725d109871a486b5c175
tree02efb23b17d27157c296459ff616149bc405afae
parenta3af5087d9b0e120764cb3852da73149be17dfac
re PR c++/28152 (Diagnostic about wrong use _Complex prints __complex__)

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.

From-SVN: r147097
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/parser-pr28152-2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/parse/parser-pr28152.C [new file with mode: 0644]