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

Paolo Bonzini paolo.bonzini@lu.unisi.ch
Thu Feb 15 15:18:00 GMT 2007


> 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.

Agreed.  Patch bootstrapped on i686-pc-linux-gnu and committed to both 
dataflow-branch and mainline.

Note that, on dataflow-branch, there is another problem in caller-save.c 
that is triggered by regstack and visible in SPECfp2000 wupwise.

Thanks,

Paolo



More information about the Gcc-patches mailing list