This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/27713] [4.0/4.1 regression] ICE on invalid operator new
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 May 2006 19:22:33 -0000
- Subject: [Bug c++/27713] [4.0/4.1 regression] ICE on invalid operator new
- References: <bug-27713-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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