[Bug c++/27315] [4.0/4.1/4.2 regression] ICE with ill-placed expression

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



------- Comment #8 from reichelt at gcc dot gnu dot org  2006-05-15 09:10 -------
Subject: Bug 27315

Author: reichelt
Date: Mon May 15 09:10:03 2006
New Revision: 113779

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113779
Log:
        PR c++/27315
        * pt.c (do_decl_instantiation): Return early on invalid decl.

        * g++.dg/template/operator6.C: New test.
        * g++.dg/template/incomplete3.C: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/incomplete3.C
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/operator6.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=27315



More information about the Gcc-bugs mailing list