This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, ARM] fix .cfi inconsistency out of builtin_eh_return
- From: Olivier Hainque <hainque at adacore dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 3 Aug 2017 11:17:50 +0200
- Subject: Re: [PATCH, ARM] fix .cfi inconsistency out of builtin_eh_return
- Authentication-results: sourceware.org; auth=none
- References: <D8F016C3-3595-45F9-A755-2EB1CB16167A@adacore.com>
> On 03 Aug 2017, at 11:02, Olivier Hainque <hainque@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 <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.
> OK to commit ?
>
> Thanks much in advance for your feedback,
>
> With Kind Regards,
>
> Olivier