r236414 - in /trunk/gcc: cp/ChangeLog cp/parser...
paolo@gcc.gnu.org
paolo@gcc.gnu.org
Wed May 18 16:26:00 GMT 2016
Author: paolo
Date: Wed May 18 16:26:35 2016
New Revision: 236414
URL: https://gcc.gnu.org/viewcvs?rev=236414&root=gcc&view=rev
Log:
/cp
2016-05-18 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/69793
* parser.c (cp_parser_template_id): Don't call cp_lexer_peek_nth_token
when the previous cp_lexer_peek_token returns CPP_EOF.
/testsuite
2016-05-18 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/69793
* g++.dg/template/crash122.C: New.
Added:
trunk/gcc/testsuite/g++.dg/template/crash122.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list