From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10742 invoked by alias); 26 Sep 2012 23:12:40 -0000 Received: (qmail 10705 invoked by uid 48); 26 Sep 2012 23:12:18 -0000 From: "mikulas at artax dot karlin.mff.cuni.cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/54705] ICE during custom LTO bootstrap with Ada enabled Date: Wed, 26 Sep 2012 23:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mikulas at artax dot karlin.mff.cuni.cz X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2012-09/txt/msg02240.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54705 --- Comment #2 from mikulas at artax dot karlin.mff.cuni.cz 2012-09-26 23:12:18 UTC --- My script doesn't have -g, but it is somehow added by gcc build scripts. I can see lines like this that have -g. /usr/src/gcc-4.7.2-build-5.1/./prev-gcc/xgcc -B/usr/src/gcc-4.7.2-build-5.1/./prev-gcc/ -B/usr/local/gcc/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc/x86_64-unknown-linux-gnu/sys-include -c -O3 -march=barcelona -fomit-frame-pointer -flto -gtoggle -gnatpg -gnata -W -Wall -g -O1 -fno-inline \ -nostdinc -I- -I. -Iada -I../../gcc-4.7.2/gcc/ada -I../../gcc-4.7.2/gcc/ada/gcc-interface ../../gcc-4.7.2/gcc/ada/a-except.adb -o ada/a-except.o For me it is reproducible, I ran it again and it crashed again with the same internal error. I am attaching the output of the compilation so that you can look where the -g came from.