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++/35242] [4.3/4.4 regression] ICE with invalid specialization of variadic template



------- Comment #4 from paolo at gcc dot gnu dot org  2008-06-08 21:26 -------
Subject: Bug 35242

Author: paolo
Date: Sun Jun  8 21:25:49 2008
New Revision: 136569

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=136569
Log:
/cp
2008-06-08  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/35242
        * pt.c (maybe_process_partial_specialization): Check the tree
        returned by push_template_decl for error_mark_node.
        * parser.c (cp_parser_class_head): Likewise, check the tree
        returned by the latter. 

/testsuite
2008-06-08  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/35242
        * g++.dg/cpp0x/vt-35242.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/vt-35242.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=35242


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