[Bug c++/28861] [4.0/4.1/4.2 regression] ICE on invalid in-class specialization

lmillward at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Sep 21 18:22:00 GMT 2006



------- Comment #4 from lmillward at gcc dot gnu dot org  2006-09-21 18:22 -------
Subject: Bug 28861

Author: lmillward
Date: Thu Sep 21 18:22:11 2006
New Revision: 117117

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117117
Log:
        PR c++/28861
        * decl.c (shadow_tag): Return error_mark_node
        if maybe_process_partial_specialization failed.

        * g++.dg/template/spec32.C: New test.
        * g++.dg/parse/crash9.C: Adjust error markers.


Added:
    trunk/gcc/testsuite/g++.dg/template/spec32.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/parse/crash9.C


-- 


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



More information about the Gcc-bugs mailing list