This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [dataflow or trunk?] PATCH: fix caller-save.c on sibcalls
- From: Ian Lance Taylor <iant at google dot com>
- To: Paolo Bonzini <paolo dot bonzini at lu dot unisi dot ch>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: 14 Feb 2007 07:42:32 -0800
- Subject: Re: [dataflow or trunk?] PATCH: fix caller-save.c on sibcalls
- References: <45D2C2F0.4030206@lu.unisi.ch>
Paolo Bonzini <paolo.bonzini@lu.unisi.ch> writes:
> 2007-02-14 Paolo Bonzini <bonzini@gnu.org>
>
> * caller-save.c (save_call_clobbered_regs): Do not process sibcalls.
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.
Thanks.
Ian