[Bug rtl-optimization/59535] [4.9 regression] -Os code size regressions for Thumb1/Thumb2 with LRA

vmakarov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 14 16:19:00 GMT 2014


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

--- Comment #16 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
Author: vmakarov
Date: Fri Feb 14 16:18:29 2014
New Revision: 207787

URL: http://gcc.gnu.org/viewcvs?rev=207787&root=gcc&view=rev
Log:
2014-02-14  Vladimir Makarov  <vmakarov@redhat.com>
        Richard Earnshaw  <rearnsha@arm.com>

    PR rtl-optimization/59535
    * lra-constraints.c (process_alt_operands): Encourage alternative
    when unassigned pseudo class is superset of the alternative class.
    (inherit_reload_reg): Don't inherit when optimizing for code size.
    * config/arm/arm.h (MODE_BASE_REG_CLASS): Add version for LRA
    returning CORE_REGS for anything but Thumb1 and BASE_REGS for
    modes not less than 4 for Thumb1.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/arm.h
    trunk/gcc/lra-constraints.c



More information about the Gcc-bugs mailing list