public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/43212] New: [LTO] error: control flow in the middle of basic block
@ 2010-02-28 15:21 d dot g dot gorbachev at gmail dot com
2010-03-01 10:44 ` [Bug lto/43212] " rguenth at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: d dot g dot gorbachev at gmail dot com @ 2010-02-28 15:21 UTC (permalink / raw)
To: gcc-bugs
======================== 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 <http://gcc.gnu.org/bugs.html> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug lto/43212] [LTO] error: control flow in the middle of basic block
2010-02-28 15:21 [Bug lto/43212] New: [LTO] error: control flow in the middle of basic block d dot g dot gorbachev at gmail dot com
@ 2010-03-01 10:44 ` rguenth at gcc dot gnu dot org
2010-04-08 10:43 ` steven at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-01 10:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2010-03-01 10:43 -------
Confirmed. We do have sort-of a fixup pass to deal with this, but it doesn't
work very well.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |lto
Last reconfirmed|0000-00-00 00:00:00 |2010-03-01 10:43:50
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43212
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug lto/43212] [LTO] error: control flow in the middle of basic block
2010-02-28 15:21 [Bug lto/43212] New: [LTO] error: control flow in the middle of basic block d dot g dot gorbachev at gmail dot com
2010-03-01 10:44 ` [Bug lto/43212] " rguenth at gcc dot gnu dot org
@ 2010-04-08 10:43 ` steven at gcc dot gnu dot org
2010-04-08 11:24 ` rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: steven at gcc dot gnu dot org @ 2010-04-08 10:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from steven at gcc dot gnu dot org 2010-04-08 10:43 -------
Should LTO reject function declarations with incompatible attributes? Or should
the "discovery" of the attribute in one translation unit be used to update the
control flow graph in the other units (e.g. by writing out summaries for the
attributes and have a stage in LTO that merges them)?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43212
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug lto/43212] [LTO] error: control flow in the middle of basic block
2010-02-28 15:21 [Bug lto/43212] New: [LTO] error: control flow in the middle of basic block d dot g dot gorbachev at gmail dot com
2010-03-01 10:44 ` [Bug lto/43212] " rguenth at gcc dot gnu dot org
2010-04-08 10:43 ` steven at gcc dot gnu dot org
@ 2010-04-08 11:24 ` rguenth at gcc dot gnu dot org
2010-04-23 16:25 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-08 11:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2010-04-08 11:23 -------
We do have a fixup pass for this, but somehow it doesnt' work.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43212
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug lto/43212] [LTO] error: control flow in the middle of basic block
2010-02-28 15:21 [Bug lto/43212] New: [LTO] error: control flow in the middle of basic block d dot g dot gorbachev at gmail dot com
` (2 preceding siblings ...)
2010-04-08 11:24 ` rguenth at gcc dot gnu dot org
@ 2010-04-23 16:25 ` rguenth at gcc dot gnu dot org
2010-07-24 16:47 ` rguenth at gcc dot gnu dot org
2010-07-24 16:50 ` rguenth at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-23 16:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2010-04-23 16:25 -------
Honza, you might want to have a look here.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu dot
| |org
Last reconfirmed|2010-03-01 10:43:50 |2010-04-23 16:25:03
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43212
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug lto/43212] [LTO] error: control flow in the middle of basic block
2010-02-28 15:21 [Bug lto/43212] New: [LTO] error: control flow in the middle of basic block d dot g dot gorbachev at gmail dot com
` (3 preceding siblings ...)
2010-04-23 16:25 ` rguenth at gcc dot gnu dot org
@ 2010-07-24 16:47 ` rguenth at gcc dot gnu dot org
2010-07-24 16:50 ` rguenth at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-24 16:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rguenth at gcc dot gnu dot org 2010-07-24 16:46 -------
Hm, I can't reproduce this anymore. Thus, fixed.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43212
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug lto/43212] [LTO] error: control flow in the middle of basic block
2010-02-28 15:21 [Bug lto/43212] New: [LTO] error: control flow in the middle of basic block d dot g dot gorbachev at gmail dot com
` (4 preceding siblings ...)
2010-07-24 16:47 ` rguenth at gcc dot gnu dot org
@ 2010-07-24 16:50 ` rguenth at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-24 16:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from rguenth at gcc dot gnu dot org 2010-07-24 16:49 -------
Subject: Bug 43212
Author: rguenth
Date: Sat Jul 24 16:49:38 2010
New Revision: 162501
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162501
Log:
2010-07-24 Richard Guenther <rguenther@suse.de>
PR lto/43212
* gcc.dg/lto/20100724-1_0.c: New testcase.
* gcc.dg/lto/20100724-1_1.c: Likewise.
Added:
trunk/gcc/testsuite/gcc.dg/lto/20100724-1_0.c
trunk/gcc/testsuite/gcc.dg/lto/20100724-1_1.c
Modified:
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43212
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-07-24 16:50 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-28 15:21 [Bug lto/43212] New: [LTO] error: control flow in the middle of basic block d dot g dot gorbachev at gmail dot com
2010-03-01 10:44 ` [Bug lto/43212] " rguenth at gcc dot gnu dot org
2010-04-08 10:43 ` steven at gcc dot gnu dot org
2010-04-08 11:24 ` rguenth at gcc dot gnu dot org
2010-04-23 16:25 ` rguenth at gcc dot gnu dot org
2010-07-24 16:47 ` rguenth at gcc dot gnu dot org
2010-07-24 16:50 ` rguenth at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).