[Bug rtl-optimization/52804] IRA/RELOAD allocate wrong register on ARM for cortex-m0

amker at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 15 02:16:00 GMT 2012


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

--- Comment #5 from amker at gcc dot gnu.org 2012-05-15 02:14:11 UTC ---
Author: amker
Date: Tue May 15 02:14:05 2012
New Revision: 187496

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187496
Log:
    Backport r187139 from mainline.
    2012-05-04  Bin Cheng  <bin.cheng@arm.com>

    PR rtl-optimization/52804
    * reload1.c (reload_reg_reaches_end_p): Check whether successor
    reload with type RELOAD_FOR_INPUT_ADDRESS kills reload register
    of current one with type RELOAD_FOR_INPADDR_ADDRESS.
    Same stands for reloads with type RELOAD_FOR_OUTPUT_ADDRESS and
    RELOAD_FOR_OUTADDR_ADDRESS.

Modified:
    branches/gcc-4_7-branch/gcc/ChangeLog
    branches/gcc-4_7-branch/gcc/reload1.c



More information about the Gcc-bugs mailing list