Patch to fix delete_noop_move REG_LIBCALL handling.

Richard Henderson rth@redhat.com
Sun Oct 7 21:57:00 GMT 2001


On Sun, Oct 07, 2001 at 05:16:47PM -0400, John Wehle wrote:
> ! 	      /* Handle the last insn of a libcall in a similar fashion.  */
> ! 	      else if ((note = find_reg_note (insn, REG_RETVAL, NULL_RTX))
> ! 		       && XEXP (note, 0) != insn)
> ! 		{

This is incorrect -- the REG_RETVAL insn in special in that 
it may be a noop move *explictly* in order to hide some real
operation that comes before.


r~



More information about the Gcc-patches mailing list