re PR target/77904 ([ARM Cortex-M0] Frame pointer thrashes registers if assembly...
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Tue, 22 Nov 2016 10:44:29 +0000 (10:44 +0000)
committerThomas Preud'homme <thopre01@gcc.gnu.org>
Tue, 22 Nov 2016 10:44:29 +0000 (10:44 +0000)
commit4ac52f1614e8d199e55b915dc23e687a76327ba8
treef2c54a383ddd5469be1f5ce11f3d99745f6590d6
parente4fe8c9f6b1d28c37680939c24e6ebfb5706bb9e
re PR target/77904 ([ARM Cortex-M0] Frame pointer thrashes registers if assembly statements with "sp" clobber are used)

2016-11-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    PR target/77904
    * config/arm/arm.c (thumb1_compute_save_reg_mask): Mark frame pointer
    in save register mask if it is needed.

    gcc/testsuite/
    PR target/77904
    * gcc.target/arm/pr77904.c: New test.

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