This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/28110] [4.1/4.2 regression] ICE with invalid template constant parameter



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]