cfgcleanup.c (try_optimize_cfg): Call merge_block only when jump is simplejump.

* cfgcleanup.c (try_optimize_cfg):  Call merge_block only when
	jump is simplejump.

From-SVN: r53129
This commit is contained in:
Jan Hubicka 2002-05-03 23:02:44 +02:00 committed by Jan Hubicka
parent 37ad04a5a4
commit 3d4ce12a5a
2 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,9 @@
Fri May 3 22:53:37 CEST 2002 Jan Hubicka <jh@suse.cz>
Fri May 3 22:59:15 CEST 2002 Jan Hubicka <jh@suse.cz>
* cfgcleanup.c (try_optimize_cfg): Call merge_block only when
jump is simplejump.
Fri May 3 22:53:37 CEST 2002 Jan Hubicka <jh@suse.cz>
* i386.c (expand_movstr, expand_clrstr): Fix inline-all-stringops
sequence.

View File

@ -1684,7 +1684,7 @@ try_optimize_cfg (mode)
/* If the jump insn has side effects,
we can't kill the edge. */
&& (GET_CODE (b->end) != JUMP_INSN
|| onlyjump_p (b->end))
|| simplejump_p (b->end))
&& merge_blocks (s, b, c, mode))
changed_here = true;