From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30881 invoked by alias); 1 Apr 2014 11:21:47 -0000 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 Received: (qmail 30769 invoked by uid 48); 1 Apr 2014 11:21:41 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/60721] xcoral fails to build with LTO: internal compiler error: verify_flow_info failed Date: Tue, 01 Apr 2014 11:21: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-Version: 4.9.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-04/txt/msg00041.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60721 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2014-04-01 Ever confirmed|0 |1 --- Comment #3 from Richard Biener --- Reduced testcase: > cat t1.i extern char *getenv (const char *); int main () { getenv(""); } > cat t2.c #include extern char *getenv (const char *) __attribute__ ((__leaf__)); int init_smac() { jmp_buf come_back; getenv(""); return setjmp (come_back); } > ./xgcc -B. t1.i t2.c -flto t2.c: In function 'init_smac': t2.c:3:5: error: control flow in the middle of basic block 2 int init_smac() ^ t2.c:3:5: error: control flow in the middle of basic block 2 t2.c:3:5: internal compiler error: verify_flow_info failed