Commit 3d4ce12a by Jan Hubicka Committed by Jan Hubicka

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
parent 37ad04a5
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.
......
......@@ -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;
......
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