diff options
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/cfgloopmanip.c | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b08c3a4..0bcfdb4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-01-25 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> + + * cfgloopmanip.c (force_single_succ_latches): Fix missindentation. + 2003-02-05 Hans Boehm <Hans.Boehm@hp.com> * config/ia64/unwind-ia64.c: include coretypes.h, tm.h to get diff --git a/gcc/cfgloopmanip.c b/gcc/cfgloopmanip.c index 1ee4558..e22cb12 100644 --- a/gcc/cfgloopmanip.c +++ b/gcc/cfgloopmanip.c @@ -159,8 +159,10 @@ force_single_succ_latches (loops) if (!loop->latch->succ->succ_next) continue; - for (e = loop->header->pred; e->src != loop->latch; e = e->pred_next); - loop_split_edge_with (e, NULL_RTX, loops); + for (e = loop->header->pred; e->src != loop->latch; e = e->pred_next) + continue; + + loop_split_edge_with (e, NULL_RTX, loops); } loops->state |= LOOPS_HAVE_SIMPLE_LATCHES; } |
