re PR c++/64248 (Error: declarator-id missing; using reserved word ‘__FUNCTION__’)
authorJason Merrill <jason@redhat.com>
Fri, 12 Dec 2014 03:49:03 +0000 (22:49 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 12 Dec 2014 03:49:03 +0000 (22:49 -0500)
commit8c7e9a616ecd878f0d58f19e65fe7a5b55a2b183
treebc515152f3b09173587205075357cf9295e4f900
parent89631a43369a94bcce9a3a3b3063a75972754a5a
re PR c++/64248 (Error: declarator-id missing; using reserved word ‘__FUNCTION__’)

PR c++/64248
Revert:
* parser.c (cp_parser_unqualified_id): Handle __func__ here.
(cp_parser_primary_expression): Not here.

From-SVN: r218654
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.dg/cpp0x/decltype-func.C [deleted file]
gcc/testsuite/g++.dg/other/error34.C
gcc/testsuite/g++.dg/parse/fnname2.C [new file with mode: 0644]