arm.c (arm_set_return_address): Use MEM_VOLATILE_P on the target mem instead of RTX_F...
authorOlivier Hainque <hainque@adacore.com>
Sun, 8 Oct 2017 08:20:25 +0000 (08:20 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Sun, 8 Oct 2017 08:20:25 +0000 (08:20 +0000)
commita9f3126aad1238959612daf004c45f139a9737c0
treee8a4e61ea29b5b8197d0881261439174e6d54fb1
parent221ebb39af8e3c015a2aed2fa6e6001669cf9e29
arm.c (arm_set_return_address): Use MEM_VOLATILE_P on the target mem instead of RTX_FRAME_RELATED_P on the insn...

2017-10-08  Olivier Hainque  <hainque@adacore.com>

        * config/arm/arm.c (arm_set_return_address): Use MEM_VOLATILE_P
        on the target mem instead of RTX_FRAME_RELATED_P on the insn to
        prevent DSE.
        (thumb_set_return_address): Likewise.

From-SVN: r253522
gcc/ChangeLog
gcc/config/arm/arm.c