Commit 36808d08 by Eric Botcazou Committed by Eric Botcazou

reload1.c (fixup_abnormal_edges): Clear bb field for insns not inserted on the edge.

	* reload1.c (fixup_abnormal_edges): Clear bb field for insns
	not inserted on the edge.

From-SVN: r125582
parent 9510f6eb
2007-06-08 Eric Botcazou <ebotcazou@adacore.com>
* reload1.c (fixup_abnormal_edges): Clear bb field for insns
not inserted on the edge.
2007-06-08 Bob Wilson <bob.wilson@acm.org> 2007-06-08 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/lib1funcs.asm (__udivsi3): Use hardware divide * config/xtensa/lib1funcs.asm (__udivsi3): Use hardware divide
......
...@@ -8563,7 +8563,7 @@ fixup_abnormal_edges (void) ...@@ -8563,7 +8563,7 @@ fixup_abnormal_edges (void)
next = NEXT_INSN (insn); next = NEXT_INSN (insn);
if (INSN_P (insn)) if (INSN_P (insn))
{ {
delete_insn (insn); delete_insn (insn);
/* Sometimes there's still the return value USE. /* Sometimes there's still the return value USE.
If it's placed after a trapping call (i.e. that If it's placed after a trapping call (i.e. that
...@@ -8581,6 +8581,8 @@ fixup_abnormal_edges (void) ...@@ -8581,6 +8581,8 @@ fixup_abnormal_edges (void)
inserted = true; inserted = true;
} }
} }
else if (!BARRIER_P (insn))
set_block_for_insn (insn, NULL);
insn = next; insn = next;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment