[Bug c++/47277] [C++0x] pseudo destructor code that cause an internal compiler error with std=gnu++0x
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri May 27 20:58:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47277
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-27 20:48:27 UTC ---
Author: jason
Date: Fri May 27 20:48:24 2011
New Revision: 174363
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174363
Log:
PR c++/47277
* parser.c (cp_parser_unqualified_id): Don't check
constructor_name_p for enums.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/enum18.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/parser.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list