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++/27427] [4.0/4.1/4.2 regression] ICE with invalid template parameter



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


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