[Bug c++/51541] ICE on ill-formed alias template declarations
dodji at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 5 23:00:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51541
--- Comment #2 from Dodji Seketeli <dodji at gcc dot gnu.org> 2012-01-05 23:00:25 UTC ---
Author: dodji
Date: Thu Jan 5 23:00:14 2012
New Revision: 182935
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182935
Log:
PR c++/51541 - ICE with invalid identifier in alias-declaration
gcc/cp/
PR c++/51541
* parser.c (cp_parser_alias_declaration): Get out early upon
errors in the identifier or the attributes.
gcc/testsuite/
PR c++/51541
* g++.dg/cpp0x/alias-decl-18.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/alias-decl-18.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list