[Bug c++/27427] [4.0/4.1/4.2 regression] ICE with invalid template parameter

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat May 6 20:46:00 GMT 2006



------- Comment #6 from reichelt at gcc dot gnu dot org  2006-05-06 20:46 -------
Subject: Bug 27427

Author: reichelt
Date: Sat May  6 20:45:59 2006
New Revision: 113584

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113584
Log:
        PR c++/27427
        * pt.c (convert_nontype_argument): Return early on invalid arguments.

        * g++.dg/template/incomplete2.C: New test.

Added:
    branches/gcc-4_0-branch/gcc/testsuite/g++.dg/template/incomplete2.C
Modified:
    branches/gcc-4_0-branch/gcc/cp/ChangeLog
    branches/gcc-4_0-branch/gcc/cp/pt.c
    branches/gcc-4_0-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27427



More information about the Gcc-bugs mailing list