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++/36404] [4.2/4.3/4.4 regression] ICE with invalid enum



------- Comment #2 from paolo at gcc dot gnu dot org  2008-06-02 21:28 -------
Subject: Bug 36404

Author: paolo
Date: Mon Jun  2 21:27:35 2008
New Revision: 136295

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

        PR c++/36404
        * pt.c (push_template_decl_real): Consistently return error_mark_node
        on error.

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

        PR c++/36404
        * g++.dg/template/crash79.C: New.
        * g++.dg/other/pr28114.C: Adjust.       

Added:
    trunk/gcc/testsuite/g++.dg/template/crash79.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/other/pr28114.C


-- 


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


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