From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21294 invoked by alias); 12 Dec 2005 02:55:33 -0000 Received: (qmail 21279 invoked by uid 48); 12 Dec 2005 02:55:32 -0000 Date: Mon, 12 Dec 2005 02:55:00 -0000 Message-ID: <20051212025532.21278.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/25309] [3.4/4.0/4.1/4.2 Regression] ICE on initialization of a huge array In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2005-12/txt/msg01118.txt.bz2 List-Id: ------- 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 Jakub Jelinek 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