> 2011-07-06 Kirill Yukhin <kirill.yuk...@intel.com> > > PR tailcall-optimization/49519
Please do not invent components, this will disable the automatic xref of the commit in bugzilla. Copy the "Component" field of the PR, middle-end here. > * calls.c (mem_overlaps_already_clobbered_arg_p): Additional > check if address is stored in register. If so - give up. > > (check_sibcall_argument_overlap_1): Do not perform check of > overlapping when it is call to address. Are the 2 changes totally unrelated? > Bootstrapped, new test fails without patch, passes when it is applied. > This fixes the bprblem with SPEC2006/447.dealII miscompile > > Ok for trunk? The patch lacks comments - one shouldn't need to read the PR audit trail to understand why the new lines are there. -- Eric Botcazou