This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28450] New: [4.0/4.1/4.2 regression] ICE with new and complex/vector types
- 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: 21 Jul 2006 13:20:44 -0000
- Subject: [Bug c++/28450] New: [4.0/4.1/4.2 regression] ICE with new and complex/vector types
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Each of the following lines triggers an ICE since GCC 3.3:
=======================================================
void* p = new __complex__ int ();
void* q = new int __attribute__((vector_size(8))) ();
=======================================================
bug.cc:1: internal compiler error: in build_zero_init, at cp/init.c:252
Please submit a full bug report, [etc.]
This is because build_zero_init doesn't handle COMPLEX_TYPE and VECTOR_TYPE.
Before GCC 3.3 the code was rejected.
--
Summary: [4.0/4.1/4.2 regression] ICE with new and complex/vector
types
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, monitored
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28450