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: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Feb 2005 06:49:30 -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 jakub at gcc dot gnu dot org 2005-02-25 06:49 -------
The trunk version of the patch works (I have it in my local tree for ages), it
hasn't been applied because of
http://gcc.gnu.org/ml/gcc-patches/2004-12/msg01976.html
but as seen in the thread after that there were issues with changing that.
So I think it would be best to apply
http://gcc.gnu.org/ml/gcc-patches/2004-12/msg01962.html
(well, the actual patch I have is a tiny bit different) for at least 4.0 branch
and deal with the sign extension of sizetype for 4.1.
As for 3.3, I haven't had yet time to write the patch, so if there are any
volunteers to write/regtest that, it would be appreciated.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |rth at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18384