tree-cfg.c (thread_jumps): Remove a duplicate check for an infinite loop.

* tree-cfg.c (thread_jumps): Remove a duplicate check for
	an infinite loop.

From-SVN: r88567
This commit is contained in:
Kazu Hirata 2004-10-05 19:00:54 +00:00 committed by Kazu Hirata
parent 2abacef091
commit 20d400c32b
2 changed files with 5 additions and 5 deletions

View 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

View 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;