From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10241 invoked by alias); 28 Feb 2010 15:21:43 -0000 Received: (qmail 10067 invoked by uid 48); 28 Feb 2010 15:21:28 -0000 Date: Sun, 28 Feb 2010 15:21:00 -0000 Subject: [Bug lto/43212] New: [LTO] error: control flow in the middle of basic block X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "d dot g dot gorbachev at gmail dot com" 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: 2010-02/txt/msg02868.txt.bz2 ======================== 1.c ======================== extern void baz(void); void foo(void) { baz(); } ======================== 2.c ======================== extern __attribute__((__noreturn__)) void baz(void); void bar(void) { baz(); } ===================================================== $ gcc -r -nostdlib -O2 -flto 1.c 2.c In file included from :0:0: 1.c: In function 'foo': 1.c:3:6: error: control flow in the middle of basic block 2 1.c:3:6: internal compiler error: verify_flow_info failed Please submit a full bug report, with preprocessed source if appropriate. See for instructions. lto-wrapper: /usr/local/bin/i686-pc-linux-gnu-gcc-4.5.0 returned 1 exit status collect2: lto-wrapper returned 1 exit status -- Summary: [LTO] error: control flow in the middle of basic block Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: d dot g dot gorbachev at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43212