Small tweak to reorg.c

Eric Botcazou ebotcazou@adacore.com
Tue Oct 2 10:55:00 GMT 2018


This changes make_return_insns to using emit_copy_of_insn_after when it needs 
to re-emit insns that were put in a delay slot, like routines doing the same 
thing in the file, and re-emitting the jump insn directly.

Tested on SPARC/Solaris, applied on the mainline.


2018-10-02  Eric Botcazou  <ebotcazou@adacore.com>

	* reorg.c (make_return_insns): Use emit_copy_of_insn_after for the
	insns in the delay slot and add_insn_after for the jump insn.

-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reorg.diff
Type: text/x-patch
Size: 976 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20181002/bb34f955/attachment.bin>


More information about the Gcc-patches mailing list