This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18384] [3.3/3.4/4.0 Regression] ICE on zero-length array with empty initializer...
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Nov 2004 22:52:44 -0000
- Subject: [Bug c++/18384] [3.3/3.4/4.0 Regression] ICE on zero-length array with empty initializer...
- References: <20041108213431.18384.apl@alum.mit.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2004-11-21 22:52 -------
It looks like the testcase in this bug (and the related bugs and duplicates)
is invalid. But I am not sure if it used to be accepted thanks to a GCC
extension we want to prefer. Can someone elaborate on this?
This affects the kind of fix we want to do, at least on mainline: if we catch
the error early on, there is no need to add sanity checks in reshape_init, and
the ICE will disappear. For the branches, of course, I'll prepare a minimum
fix which will work around the ICE.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |mmitchel at gcc dot gnu dot
| |org
Keywords|ice-on-valid-code |ice-on-invalid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18384