From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29166 invoked by alias); 7 May 2007 09:29:11 -0000 Received: (qmail 29137 invoked by uid 48); 7 May 2007 09:29:02 -0000 Date: Mon, 07 May 2007 09:29:00 -0000 Message-ID: <20070507092902.29136.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug bootstrap/31523] bootstrap xgcc internal compiler error (using -O3) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "anirkko at insel dot ch" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-05/txt/msg00563.txt.bz2 ------- Comment #12 from anirkko at insel dot ch 2007-05-07 10:29 ------- (In reply to comment #10) ... > Yes, I'm going to reopen it, but I'm not sure someone will tackle it. > The culprit is -finline-functions: The gcc man page says -O3 adds only 3 additional options. My bootstrapping script tells me the bug is in -finline-functions. Base compiler = gcc-4.1.2 (itself built without error using -O2), target compiler also gcc-4.1.2, when using -finline-functions as bootflags, the bootstrapped xgcc fails with an ICE at exactly the same place as originally reported above. Should -finline-functions be excluded from the default -O3 options? (until mended. If it can't be trusted building the comopiler, can it be trusted for anything else?) keywords added: build (problem occurs during bootstrap) wrong-code (compiles and links xgcc, but then xgcc fails later) ice-on-valid-code (the xgcc above fails with ICE during the build) -- anirkko at insel dot ch changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |build, ice-on-valid-code, | |wrong-code http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31523