This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/18384] [3.3/3.4/4.0 Regression] ICE on zero-length array with empty initializer...


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]