http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58649
--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> --- Author: paolo Date: Thu Jan 30 14:28:55 2014 New Revision: 207304 URL: http://gcc.gnu.org/viewcvs?rev=207304&root=gcc&view=rev Log: /cp 2014-01-30 Paolo Carlini <paolo.carl...@oracle.com> PR c++/58649 * pt.c (lookup_template_class_1): Check start_enum return value for error_mark_node. /testsuite 2014-01-30 Paolo Carlini <paolo.carl...@oracle.com> PR c++/58649 * g++.dg/template/crash117.C: New. Added: trunk/gcc/testsuite/g++.dg/template/crash117.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog