re PR target/64453 (Live high register not saved in function prolog on ARM with -Os)
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Wed, 14 Jan 2015 11:51:40 +0000 (11:51 +0000)
committerThomas Preud'homme <thopre01@gcc.gnu.org>
Wed, 14 Jan 2015 11:51:40 +0000 (11:51 +0000)
commit6f0a6218e31cbfe8912fa90d74f1d43ceaeed336
tree4203df76e39460f15fa96a84e72ae957a56b3bc9
parent6af2585d5c9880f8a3925e2f3fb4b0713b0647db
re PR target/64453 (Live high register not saved in function prolog on ARM with -Os)

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.

From-SVN: r219592
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/pr64453.c [new file with mode: 0644]