[Bug target/64453] Live high register not saved in function prolog on ARM with -Os

thopre01 at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 4 02:06:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64453

--- Comment #4 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> ---
Author: thopre01
Date: Wed Mar  4 02:06:07 2015
New Revision: 221170

URL: https://gcc.gnu.org/viewcvs?rev=221170&root=gcc&view=rev
Log:
2015-03-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    Backport from mainline
    2015-01-14  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    PR target/64453
    * config/arm/arm.c (callee_saved_reg_p): Define.
    (arm_compute_save_reg0_reg12_mask): Use callee_saved_reg_p to check if
    register is callee saved instead of !call_used_regs[reg].
    (thumb1_compute_save_reg_mask): Likewise.

    gcc/testsuite/
    PR target/64453
    * gcc.target/arm/pr64453.c: New.

Added:
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/arm/pr64453.c
Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/config/arm/arm.c
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list