This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28110] [4.1/4.2 regression] ICE with invalid template constant parameter
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jun 2006 09:50:31 -0000
- Subject: [Bug c++/28110] [4.1/4.2 regression] ICE with invalid template constant parameter
- References: <bug-28110-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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