[Bug c++/51402] [4.6/4.7 Regression] ICE with invalid template parameter
paolo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 20 17:38:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51402
--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-01-20 17:21:27 UTC ---
Author: paolo
Date: Fri Jan 20 17:21:19 2012
New Revision: 183345
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183345
Log:
/cp
2012-01-20 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/51402
* pt.c (lookup_template_class_1): Check context returned by
tsubst for error_mark_node.
/testsuite
2012-01-20 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/51402
* g++.dg/template/crash110.C: New.
Added:
trunk/gcc/testsuite/g++.dg/template/crash110.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list