]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
reload1.c (fixup_abnormal_edges): Clear bb field for insns not inserted on the edge.
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 8 Jun 2007 23:22:46 +0000 (23:22 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 8 Jun 2007 23:22:46 +0000 (23:22 +0000)
* reload1.c (fixup_abnormal_edges): Clear bb field for insns
not inserted on the edge.

From-SVN: r125582

gcc/ChangeLog
gcc/reload1.c

index a692b4903af3d70f32104b1bbc44d9b48fd846c3..21546658630d80624c6affe689bb68fda595ea8e 100644 (file)
@@ -1,3 +1,8 @@
+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>
 
        * config/xtensa/lib1funcs.asm (__udivsi3): Use hardware divide
index 7a3e78a798124d7fbbc0b2b2455606fc0d97ac2d..f880e5a061f07e47a7c2a94e6385c6d200ed950f 100644 (file)
@@ -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;
                }
            }