Fix finding reg-sets of call insn in collect_fn_hard_reg_usage

Jeff Law law@redhat.com
Mon Jun 30 20:42:00 GMT 2014


On 06/26/14 04:56, Tom de Vries wrote:
> On 19-06-14 18:47, Richard Henderson wrote:
>> And I forgot to mention it might be worth while to notice simple
>> recursion.
>> Avoid the early exit path if caller == callee, despite the caller-save
>> info not
>> being valid.
>>
>>
>
> Richard,
>
> attached patch enables handling of self-recursive functions in the
> fuse-caller-save optimization, and adds a test-case.
>
> I've done an x86_64 build and ran the i386.exp testsuite.
>
> OK for trunk if full bootstrap and reg-test succeeds?
Yes.

Thanks,
Jeff



More information about the Gcc-patches mailing list