This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11228] [3.3/3.4 regression] ICE on new-expression using array operator new and default-initialization
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jun 2003 23:57:34 -0000
- Subject: [Bug c++/11228] [3.3/3.4 regression] ICE on new-expression using array operator new and default-initialization
- References: <20030617231527.11228.austern@apple.com>
- 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=11228
bangerth@dealii.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Priority|P2 |P1
Last reconfirmed|0000-00-00 00:00:00 |2003-06-17 23:57:34
date| |
Summary|ICE on new-expression using |[3.3/3.4 regression] ICE on
|array operator new and |new-expression using array
|default-initialization |operator new and default-
| |initialization
Target Milestone|3.4 |3.3.1
------- Additional Comments From bangerth@dealii.org 2003-06-17 23:57 -------
Confirmed.
The code is illegal: initializers are not allowed by the standard for array-new
expressions. However, this is a gcc extension.
I thought, this extension was abandoned recently, maybe the infinite loop
is a remnant that wasn't entirely purged.
W.