This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11266] New: [tree-ssa] ICE with placement 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: 20 Jun 2003 17:08:05 -0000
- Subject: [Bug c++/11266] New: [tree-ssa] ICE with placement new
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11266
Summary: [tree-ssa] ICE with placement new
Product: gcc
Version: unknown
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P1
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: reichelt@gcc.gnu.org
CC: dnovillo@gcc.gnu.org,gcc-bugs@gcc.gnu.org
The following code (taken from PR9280) crashes tree-ssa (20030620):
-------------------------------------------------------------------------------
void* operator new (unsigned int, void*) throw();
void operator delete (void*, void*) throw();
struct A { A(); };
void foo() { new(new A)A; }
-------------------------------------------------------------------------------
The error message is:
bug.cc: In function `void foo()':
bug.cc:6: internal compiler error: in gimple_add_tmp_var, at gimplify.c:2483
Please submit a full bug report, [etc.]
Since this is a regressuion w.r.t. mainline, I set the priority to "P1".