]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/47277 ([C++0x] pseudo destructor code that cause an internal compiler error...
authorJason Merrill <jason@redhat.com>
Fri, 27 May 2011 19:32:14 +0000 (15:32 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 27 May 2011 19:32:14 +0000 (15:32 -0400)
commit1fbbe7d6b21bcfd89b0d4722bb1f4b90c2b4965c
treec8e3515da5825a29b14fc3f1a5c94f7a06a129c3
parent6d258f3157f2e035d491929a9b819cae3b24a8e9
re PR c++/47277 ([C++0x] pseudo destructor code that cause an internal compiler error with std=gnu++0x)

PR c++/47277
* parser.c (cp_parser_unqualified_id): Don't check
constructor_name_p for enums.

From-SVN: r174355
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/enum18.C [new file with mode: 0644]