From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11901 invoked by alias); 2 Jun 2006 20:12:06 -0000 Received: (qmail 11866 invoked by uid 48); 2 Jun 2006 20:11:56 -0000 Date: Fri, 02 Jun 2006 20:12:00 -0000 Message-ID: <20060602201156.11865.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/20623] ICE: fold check: original tree changed by fold with --enable-checking=fold In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rsa at us dot ibm dot com" 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: 2006-06/txt/msg00135.txt.bz2 List-Id: ------- Comment #11 from rsa at us dot ibm dot com 2006-06-02 20:11 ------- I recently ran into this on ppc/ppc64 when building a toolchain with gcc4.1 or gcc4.2. When the bootstrap gcc was built with --enable-checking=all (or =fold which we just tested) the glibc 32bit build stage fails in vfprintf. Peter Bergner extracted the minimal failure bit out here: vfprintf.c int main (void) { static void *array[] = { &&foo - &&bar }; return 0; foo: return 1; bar: return 2; } Compiler /home/user/gcc/gcc-4_1-20060601-2-biarch/bin/gcc compiled with --enable-checking=all (=fold) user@host:~/gcc/bugs/vfprintf> /home/user/gcc/gcc-4_1-20060601-2-biarch/bin/gcc -c vfprintf.c vfprintf.c: In function main: vfprintf.c:3: internal compiler error: fold check: original tree changed by fold Please submit a full bug report, with preprocessed source if appropriate. See for instructions. -- rsa at us dot ibm dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rsa at us dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20623