> On 03 Aug 2017, at 11:02, Olivier Hainque <hain...@adacore.com> wrote:
> The attached patch is a proposal to fix this by setting MEM_VOLATILE_P on > the store destination mem instead of setting RTX_FRAME_RELATED_P on the insn, > which alleviates the .cfi complications and is as effective in preventing > the store removal by DSE Forgot the ChangeLog, here it is: 2017-08-03 Olivier Hainque <hain...@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. > OK to commit ? > > Thanks much in advance for your feedback, > > With Kind Regards, > > Olivier