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 c1fdc2ccaca4361bf5fc750be65c6789e1e7907d..b23a68a1e0fb4ff2b25c3b5ca4e17ad004a91ada 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 3d25d80da374130e821702602af1accb580b71d5..ebf09829e68005004e0f1a8315488a3bcdf3c5c1 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: