[Bug c++/28110] [4.1/4.2 regression] ICE with invalid template constant parameter
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jun 22 09:52:00 GMT 2006
------- Comment #2 from reichelt at gcc dot gnu dot org 2006-06-22 09:50 -------
Subject: Bug 28110
Author: reichelt
Date: Thu Jun 22 09:50:24 2006
New Revision: 114886
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114886
Log:
PR c++/28110
* pt.c (unify) <case TEMPLATE_PARM_INDEX>: Check for invalid
parameters.
* g++.dg/template/crash53.C: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/crash53.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/pt.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28110
More information about the Gcc-bugs
mailing list