OSDN Git Service

* reload1.c (fixup_abnormal_edges): Clear bb field for insns
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Jun 2007 23:22:46 +0000 (23:22 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Jun 2007 23:22:46 +0000 (23:22 +0000)
not inserted on the edge.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125582 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/reload1.c

index a692b49..2154665 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 7a3e78a..f880e5a 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;
                }
            }