sched-ebb.c (add_deps_for_risky_insns): Add the dependence when there is no similar...
authorVladimir Makarov <vmakarov@toke.toronto.redhat.com>
Tue, 25 Feb 2003 21:43:16 +0000 (21:43 +0000)
committerVladimir Makarov <vmakarov@gcc.gnu.org>
Tue, 25 Feb 2003 21:43:16 +0000 (21:43 +0000)
2003-02-25  Vladimir Makarov  <vmakarov@toke.toronto.redhat.com>
            Richard Henderson  <rth@redhat.com>

* sched-ebb.c (add_deps_for_risky_insns): Add the dependence when
there is no similar load.

Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r63416

gcc/ChangeLog
gcc/sched-ebb.c

index c1fdc2c..b23a68a 100644 (file)
@@ -1,3 +1,9 @@
+2003-02-25  Vladimir Makarov  <vmakarov@toke.toronto.redhat.com>
+            Richard Henderson  <rth@redhat.com>
+
+       * sched-ebb.c (add_deps_for_risky_insns): Add the dependence when
+       there is no similiar load.
+
 2003-02-25  Vladimir Makarov  <vmakarov@redhat.com>
             Richard Henderson  <rth@redhat.com>
 
index 3d25d80..ebf0982 100644 (file)
@@ -442,10 +442,12 @@ add_deps_for_risky_insns (head, tail)
              {
                bb = earliest_block_with_similiar_load (last_block, insn);
                if (bb)
-                 bb = bb->aux;
-               if (!bb)
-                 break;
-               prev = bb->end;
+                 {
+                   bb = bb->aux;
+                   if (!bb)
+                     break;
+                   prev = bb->end;
+                 }
              }
            /* FALLTHRU */
          case TRAP_RISKY: