This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix up handling of REG_EH_REGION notes in LRA (PR middle-end/69838)
- From: Dominik Vogt <vogt at linux dot vnet dot ibm dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Vladimir Makarov <vmakarov at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 19 Feb 2016 16:24:02 +0100
- Subject: Re: [PATCH] Fix up handling of REG_EH_REGION notes in LRA (PR middle-end/69838)
- Authentication-results: sourceware.org; auth=none
- References: <20160219150837 dot GO3017 at tucnak dot redhat dot com>
- Reply-to: vogt at linux dot vnet dot ibm dot com
On Fri, Feb 19, 2016 at 04:08:37PM +0100, Jakub Jelinek wrote:
> For -fnon-call-exceptions, if an instruction with REG_EH_REGION note is
> reloaded, we should copy or move it to the instruction(s) corresponding to
> the original one that could throw. reload1.c apparently does this, but LRA
> does not, so we can end up with REG_EH_REGION notes being dropped, or not
> present on insns that actually can throw etc.
>
> Fixed by calling the functions reload1.c does for this purpose.
>
> Bootstrapped/regtested on x86_64-linux (including Ada) and i686-linux
> (without Ada),
> and Dominik has kindly tested this on s390x-linux
> (presumably with Ada, but don't know for sure).
Yes, all languages with the whole testsuite.
Ciao
Dominik ^_^ ^_^
--
Dominik Vogt
IBM Germany