This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/25309] [3.4/4.0/4.1/4.2 Regression] ICE on initialization of a huge array
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Dec 2005 02:55:32 -0000
- Subject: [Bug c/25309] [3.4/4.0/4.1/4.2 Regression] ICE on initialization of a huge array
- References: <bug-25309-11842@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pinskia at gcc dot gnu dot org 2005-12-12 02:55 -------
Hmm, I almost want to say this was caused by:
2002-02-20 Roger Sayle <roger@eyesopen.com>
Jakub Jelinek <jakub@redhat.com>
PR c/4389
* tree.c (host_integerp): Ensure that the constant integer is
representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
when pos is zero or nonzero respectively. Clarify comment.
* c-format.c (check_format_info_recurse): Fix host_integerp
usage; the pos argument should be zero when assigning to a
signed HOST_WIDE_INT.
Which means it was a latent bug as this added the ICE in the first place.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |roger at eyesopen dot com,
| |jakub at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25309