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:
parent
2abacef091
commit
20d400c32b
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue