This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [dataflow or trunk?] PATCH: fix caller-save.c on sibcalls


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]