[PATCH] Fix combiner with (set (pc) (pc)) jumps in undo_buf.other_insn (PR rtl-optimization/47157)

Eric Botcazou ebotcazou@adacore.com
Mon Jan 3 20:27:00 GMT 2011


> 2011-01-03  Jakub Jelinek  <jakub@redhat.com>
>
> 	PR rtl-optimization/47157
> 	* combine.c (try_combine): If undobuf.other_insn becomes
> 	(set (pc) (pc)) jump, call update_cfg_for_uncondjump on it
> 	and set *new_direct_jump_p too.
>
> 	* gcc.c-torture/compile/pr47157.c: New test.

OK, thanks.

-- 
Eric Botcazou



More information about the Gcc-patches mailing list