This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/28221] [4.1 regression] ICE in add_insn_before, at emit-rtl.c:3479



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]