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

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon May 15 09:38:00 GMT 2006



------- Comment #3 from reichelt at gcc dot gnu dot org  2006-05-15 09:38 -------
Subject: Bug 27582

Author: reichelt
Date: Mon May 15 09:38:11 2006
New Revision: 113785

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113785
Log:
        PR c++/27582
        * pt.c (any_dependent_template_arguments_p): Return early on invalid
        argument list.

        * g++.dg/template/dependent-args1.C: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/dependent-args1.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=27582



More information about the Gcc-bugs mailing list