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++/37649] [4.4 regression] ICE with invalid template class



------- Comment #2 from paolo at gcc dot gnu dot org  2008-09-25 20:39 -------
Subject: Bug 37649

Author: paolo
Date: Thu Sep 25 20:38:32 2008
New Revision: 140670

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

        PR c++/37649
        * name-lookup.c (maybe_process_template_type_declaration): Check
        return value of push_template_decl_real for error_mark_node.

/testsuite
2008-09-25  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/37649
        * g++.dg/template/crash82.C: New.


Added:
    trunk/gcc/testsuite/g++.dg/template/crash82.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/name-lookup.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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