[lra] a patch to fix a ppc testsuite regression

Vladimir Makarov vmakarov@redhat.com
Wed Jul 4 20:49:00 GMT 2012


The following patch fixes one testsuite regression on ppc64.  LRA 
removed two insns setting asm reg variable assigned to eliminable hard 
regnos.  It should be not done.

The patch was successfully bootstrapped on x86-64, ppc64, ia64.

Committed as rev. 189264.


2012-07-04  Vladimir Makarov <vmakarov@redhat.com>

         * lra-eliminations.c (get_elimination): Change prototype.
         (lra_eliminate_regs_1, eliminate_regs_in_insn): Transfer reg
         instead of regno to get_elimination.
         (lra_eliminate_reg_if_possible): Ditto.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppc-regression.patch
Type: text/x-patch
Size: 10291 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120704/58fbfd99/attachment.bin>


More information about the Gcc-patches mailing list