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++/24687] [4.1 Regression] ICE after error



------- Comment #9 from mmitchel at gcc dot gnu dot org  2005-11-15 00:15 -------
Subject: Bug 24687

Author: mmitchel
Date: Tue Nov 15 00:15:09 2005
New Revision: 106909

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106909
Log:
        PR c++/24687
        * pt.c (check_explicit_specialization): Don't check for C linkage.
        (push_template_decl_real): Likewise.
        * parser.c (cp_parser_explicit_specialization): Check here.
        (cp_parser_template_declaration_after_export): And here.
        PR c++/24687
        * g++.dg/template/crash43.C: New test. 

Added:
    trunk/gcc/testsuite/g++.dg/template/crash43.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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