summaryrefslogtreecommitdiff
path: root/gcc/cfgloopmanip.c
diff options
context:
space:
mode:
authorrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-25 23:08:06 +0000
committerrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-25 23:08:06 +0000
commit5405298c8aa3b9301db33573f175900eed3cc00a (patch)
treeee65019d18d36a27875a82a4a506cff1316804d7 /gcc/cfgloopmanip.c
parentf9614b842c73314c0767c8d527b074f1f839aef6 (diff)
downloadgcc-5405298c8aa3b9301db33573f175900eed3cc00a.tar.gz
* cfgloopmanip.c (fix_loop_structure): Call force_single_succ_latches.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126935 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgloopmanip.c')
-rw-r--r--gcc/cfgloopmanip.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cfgloopmanip.c b/gcc/cfgloopmanip.c
index 83c4c570c5a..7e70d1274e1 100644
--- a/gcc/cfgloopmanip.c
+++ b/gcc/cfgloopmanip.c
@@ -1468,6 +1468,9 @@ fix_loop_structure (bitmap changed_bbs)
if (current_loops->state & LOOPS_HAVE_PREHEADERS)
create_preheaders (CP_SIMPLE_PREHEADERS);
+ if (current_loops->state & LOOPS_HAVE_SIMPLE_LATCHES)
+ force_single_succ_latches ();
+
if (current_loops->state & LOOPS_HAVE_MARKED_IRREDUCIBLE_REGIONS)
mark_irreducible_loops ();