Commit 2492b9c7 authored by rakdver's avatar rakdver
Browse files

* cfgloopmanip.c (force_single_succ_latches): Force latch to be

	different from header.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68965 138bc75d-0d04-0410-961f-82ee72b054a4
parent aa2cf741
2003-07-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* cfgloopmanip.c (force_single_succ_latches): Force latch to be
different from header.
2003-07-05 Andreas Schwab <schwab@suse.de>
 
* config/m68k/m68k.c: Remove code protected by CRDS.
......
......@@ -1191,7 +1191,8 @@ force_single_succ_latches (struct loops *loops)
for (i = 1; i < loops->num; i++)
{
loop = loops->parray[i];
if (!loop->latch->succ->succ_next)
if (loop->latch != loop->header
&& !loop->latch->succ->succ_next)
continue;
for (e = loop->header->pred; e->src != loop->latch; e = e->pred_next)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment