From 36808d08a5fcf2418e50a20c237f799df7a6f84f Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Fri, 8 Jun 2007 23:22:46 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/reload1.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a692b4903af..21546658630 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-06-08 Eric Botcazou + + * reload1.c (fixup_abnormal_edges): Clear bb field for insns + not inserted on the edge. + 2007-06-08 Bob Wilson * config/xtensa/lib1funcs.asm (__udivsi3): Use hardware divide diff --git a/gcc/reload1.c b/gcc/reload1.c index 7a3e78a7981..f880e5a061f 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -8563,7 +8563,7 @@ fixup_abnormal_edges (void) next = NEXT_INSN (insn); if (INSN_P (insn)) { - delete_insn (insn); + delete_insn (insn); /* Sometimes there's still the return value USE. If it's placed after a trapping call (i.e. that @@ -8581,6 +8581,8 @@ fixup_abnormal_edges (void) inserted = true; } } + else if (!BARRIER_P (insn)) + set_block_for_insn (insn, NULL); insn = next; } }