[Bug c++/18384] [3.3/3.4/4.0 Regression] ICE on zero-length array with empty initializer...
------- Additional Comments From gdr at integrable-solutions dot net 2004-12-29 18:54 -------
Subject: Re: [3.3/3.4/4.0 Regression] ICE on zero-length array with empty initializer...
"mark at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org> writes:
| > As for designated_index, this differs between 3.3 and 3.4+ it seems.
| > With GCC 3.3, reshape_init_array can see arbitrary trees in TREE_PURPOSE (),
| > checking of these happens afterwards, not before reshape_init. So I think we
| > certainly want a host_integerp (, 1) there, that will ensure it is an
| > INTEGER_CST and not negative.
That is OK for 3.3.x
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18384
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Reply to: