]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/51226 ([c++0x] ICE with opaque enum and invalid template)
authorPaolo Carlini <paolo@gcc.gnu.org>
Wed, 8 May 2013 15:22:03 +0000 (15:22 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 8 May 2013 15:22:03 +0000 (15:22 +0000)
commitb0cda57f7b46e378c17be14241ce3e7a96d1df24
tree6357a81fb073b47a705fc2bee4a3561f1bdaf44c
parente61e7d28462eb89a7933ea77ef17a511a07e8418
re PR c++/51226 ([c++0x] ICE with opaque enum and invalid template)

/cp
2013-05-08  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51226
* parser.c (cp_parser_enum_specifier): Handle nested_name_specifier
== error_mark_node.

/testsuite
2013-05-08  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51226
* g++.dg/cpp0x/pr51226.C: New.

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