This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/28221] [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jul 2006 10:01:36 -0000
- Subject: [Bug rtl-optimization/28221] [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479
- References: <bug-28221-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from rguenth at gcc dot gnu dot org 2006-07-06 10:01 -------
Created an attachment (id=11843)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11843&action=view)
testcase
reduced C++ testcase attached. C testcase:
void foo(void)
{
int value47D2367, valueD2287;
unsigned int jD2283;
value47D2367 = x->x;
jD2283 = 0;
L0:
if (value47D2367 > 0) goto L3; else goto L17;
L17:
valueD2287 = value47D2367;
L2:
valueD2287 = valueD2287 + 2147483647;
if (valueD2287 > 0) goto L3; else goto L2;
L3:
jD2283 = jD2283 + 1;
if (jD2283 != 607) goto L0; else goto L6;
L6:
return;
}
gcc> ./cc1 -O2 -quiet t.i
t.i: In function 'foo':
t.i:26: error: NOTE_INSN_BASIC_BLOCK is missing for block 8
t.i:26: error: NOTE_INSN_BASIC_BLOCK 92 in middle of basic block 8
t.i:26: error: too many outgoing branch edges from bb 2
t.i:26: internal compiler error: verify_flow_info failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28221