Paolo Bonzini - Re: [dataflow or trunk?] PATCH: fix caller-save.c on sibcalls (original) (raw)
This is the mail archive of the gcc-patches@gcc.gnu.orgmailing list for the GCC project.
This is OK for mainline if it passes bootstrap and testing. Please also remove these lines from the function:
/* Sibcalls are considered to set the return value,
compare flow.c:propagate_one_insn. */
if (SIBLING_CALL_P (insn) && current_function_return_rtx)
mark_set_regs (current_function_return_rtx, NULL_RTX,
&this_insn_sets);
They should no longer be needed with your patch.