[Bug target/59880] ix86_avoid_lea_for_addr is buggy

uros at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 22 18:29:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59880

--- Comment #11 from uros at gcc dot gnu.org ---
Author: uros
Date: Wed Jan 22 18:28:30 2014
New Revision: 206934

URL: http://gcc.gnu.org/viewcvs?rev=206934&root=gcc&view=rev
Log:
    Backport from mainline
    2014-01-20  Uros Bizjak  <ubizjak@gmail.com>

    * config/i386/i386.c (ix86_avoid_lea_for_addr): Return false
    for SImode_address_operand operands, having only a REG argument.

    2014-01-20  Jakub Jelinek  <jakub@redhat.com>

    PR target/59880
    * config/i386/i386.c (ix86_avoid_lea_for_addr): Return false
    if operands[1] is a REG or ZERO_EXTEND of a REG.

    2014-01-18  Uros Bizjak  <ubizjak@gmail.com>
            H.J. Lu  <hongjiu.lu@intel.com>

    PR target/59379
    * config/i386/i386.md (*lea<mode>): Zero-extend return register
    to DImode for zero-extended addresses.


Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/config/i386/i386.c
    branches/gcc-4_8-branch/gcc/config/i386/i386.md



More information about the Gcc-bugs mailing list