This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Avoid ifcvt ICE on conditional return followed by trap (PR target/69015)
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 25 Dec 2015 11:22:21 +0100
- Subject: Re: [PATCH] Avoid ifcvt ICE on conditional return followed by trap (PR target/69015)
- Authentication-results: sourceware.org; auth=none
- References: <20151223084922 dot GS18720 at tucnak dot redhat dot com>
> This patch just disables that transformation, IMHO trading conditional
> return + unconditional trap with conditional trap + unconditional return
> isn't worth it.
>
> Martin Sebor has kindly bootstrapped/regtested this on powerpc64le-linux,
> ok for trunk?
>
> 2015-12-23 Jakub Jelinek <jakub@redhat.com>
>
> PR target/69015
> * ifcvt.c (find_cond_trap): Give up if returnjump_p (jump).
>
> * gcc.dg/pr69015.c: New test.
OK, thanks.
--
Eric Botcazou