* cfgcleanup.c (try_optimize_cfg): Do not merge across jumptables.

From-SVN: r82296
This commit is contained in:
Jan Hubicka 2004-05-27 00:30:19 +02:00 committed by Jan Hubicka
parent dabbc72269
commit e4efa97156
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2004-05-27 Jan Hubicka <jh@suse.cz>
* cfgcleanup.c (try_optimize_cfg): Do not merge across jumptables.
2004-05-27 Jan Hubicka <jh@suse.cz>
* i386.md (UNSPECV_EH_RETURN): Kill.
@ -8,7 +12,6 @@
* cfgcleanup.c (try_forward_edges): Do not check loop structure when
not loop optimizing.
(try_optimize_cfg): Do not merge across jumptables.
2004-05-26 Jan Hubicka <jh@suse.cz>

View file

@ -1938,7 +1938,9 @@ try_optimize_cfg (int mode)
&& (GET_CODE (BB_END (b)) != JUMP_INSN
|| (reload_completed
? simplejump_p (BB_END (b))
: onlyjump_p (BB_END (b))))
: (onlyjump_p (BB_END (b))
&& !tablejump_p (BB_END (b),
NULL, NULL))))
&& (next = merge_blocks_move (s, b, c, mode)))
{
b = next;