From bc810602bed5e8812315657836c3ab037381365d Mon Sep 17 00:00:00 2001 From: Zdenek Dvorak Date: Wed, 5 Feb 2003 21:04:53 +0100 Subject: [PATCH] * cfgloopmanip.c (force_single_succ_latches): Fix missindentation. From-SVN: r62451 --- gcc/ChangeLog | 4 ++++ gcc/cfgloopmanip.c | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b08c3a426a3..0bcfdb476f6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-01-25 Zdenek Dvorak + + * cfgloopmanip.c (force_single_succ_latches): Fix missindentation. + 2003-02-05 Hans Boehm * config/ia64/unwind-ia64.c: include coretypes.h, tm.h to get diff --git a/gcc/cfgloopmanip.c b/gcc/cfgloopmanip.c index 1ee45586006..e22cb12caf7 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; } -- 2.11.4.GIT