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++/27713] [4.0/4.1 regression] ICE on invalid operator new



------- Comment #6 from reichelt at gcc dot gnu dot org  2006-05-29 19:22 -------
Subject: Bug 27713

Author: reichelt
Date: Mon May 29 19:22:18 2006
New Revision: 114211

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114211
Log:
        PR c++/27713
        * pt.c (push_template_decl_real): Return error_mark_node instead
        of broken decl.

        * g++.dg/template/new6.C: New test.

Added:
    branches/gcc-4_0-branch/gcc/testsuite/g++.dg/template/new6.C
Modified:
    branches/gcc-4_0-branch/gcc/cp/ChangeLog
    branches/gcc-4_0-branch/gcc/cp/pt.c
    branches/gcc-4_0-branch/gcc/testsuite/ChangeLog


-- 


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


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