[Bug c++/18384] [3.3/3.4/4.0 Regression] ICE on zero-length array with empty initializer...
giovannibajo at libero dot it
gcc-bugzilla@gcc.gnu.org
Sun Nov 21 22:53:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list