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]

patch to fix building Ada on ppc64 with LRA


The following patch fixes building Ada on ppc64 with LRA (elimination part changes which makes it behave as reload pass code). The patch also fixes a failure on new test added for ppc recently. This change is in very sensitive part of LRA and there is possibility that other targets can be affected but I think the probability of this is very small.

The patch was successfully bootstrapped and tested on x86/x86-64 and ppc64.

Committed as rev. 203147.

2013-10-02  Vladimir Makarov  <vmakarov@redhat.com>

        * lra-constraints.c (process_alt_operand): Calculate scratch_p and
        use it.  Use smaller increase for scratch.  Don't increase reject
        for early clobber scratch.
        * lra-eliminations.c (eliminate_regs_in_insn): Remove all insns
        setting eliminated regs except setting fp from hfp.
        (lra_eliminate): Check lra_insn_recog_data on NULL.

Attachment: ppc.patch
Description: Text document


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