[Bug c++/11266] New: [tree-ssa] ICE with placement new
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jun 20 17:09:00 GMT 2003
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".
More information about the Gcc-bugs
mailing list