On 10/16/14 03:14, Tom de Vries wrote:
Eric,

this patch is the second half of the fix for PR61605.

It make sure in pass_cprop_hardreg that, if available we use the
call-specific information provided by fuse-caller-save, rather than the
generic regs_invalidated_by_call info.

The 2 patches together allow an insn to removed from the
gcc.target/i386/fuse-caller-save.c testcase, which is updated
accordingly in this patch.

Bootstrapped and reg-tested on x86_64.

OK for trunk?

Thanks,
- Tom

0002-Use-fuse-caller-save-info-in-cprop-hardreg.patch


2014-10-13  Tom de Vries<t...@codesourcery.com>

        PR rtl-optimization/61605
        * regcprop.c (copyprop_hardreg_forward_1): Use
        regs_invalidated_by_this_call instead of regs_invalidated_by_call.

        * gcc.target/i386/fuse-caller-save.c: Update addition check.  Add movl
        absence check.
OK.
Jeff

Reply via email to