tree-cfg.c (thread_jumps): Remove a duplicate check for an infinite loop.
authorKazu Hirata <kazu@cs.umass.edu>
Tue, 5 Oct 2004 19:00:54 +0000 (19:00 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Tue, 5 Oct 2004 19:00:54 +0000 (19:00 +0000)
* tree-cfg.c (thread_jumps): Remove a duplicate check for
an infinite loop.

From-SVN: r88567

gcc/ChangeLog
gcc/tree-cfg.c

index d578219ceadc2651fb91d0857a36eff910c4b015..0a29808658cb33d2d6a1226ba0d4cfa6b61c6e29 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-05  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-cfg.c (thread_jumps): Remove a duplicate check for
+       an infinite loop.
+
 2004-10-05  Kazu Hirata  <kazu@cs.umass.edu>
 
        * tree-cfg.c (thread_jumps): Iterate with FOR_EACH_BB instead
index 2eff7546f3967bdf61c9386285349b4f19c49d4b..5820c61efa9ddaf41b8a7ba6ab3566401c75dc29 100644 (file)
@@ -3885,11 +3885,6 @@ thread_jumps (void)
               last = EDGE_SUCC (dest, 0),
               dest = EDGE_SUCC (dest, 0)->dest)
            {
-             /* An infinite loop detected.  We redirect the edge anyway, so
-                that the loop is shrunk into single basic block.  */
-             if (!bb_ann (dest)->forwardable)
-               break;
-
              if (EDGE_SUCC (dest, 0)->dest == EXIT_BLOCK_PTR)
                break;