This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix up cross-jumping with __builtin_trap or __builtin_unreachable (PR middle-end/55094)
- From: Richard Henderson <rth at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 19 Nov 2012 13:43:48 -0800
- Subject: Re: [PATCH] Fix up cross-jumping with __builtin_trap or __builtin_unreachable (PR middle-end/55094)
- References: <20121119204629.GO2315@tucnak.redhat.com>
On 11/19/2012 12:46 PM, Jakub Jelinek wrote:
> 2012-11-19 Jakub Jelinek <jakub@redhat.com>
>
> PR middle-end/55094
> * builtins.c (expand_builtin_trap): Add REG_ARGS_SIZE note
> on the trap insn for !ACCUMULATE_OUTGOING_ARGS.
> * cfgcleanup.c (outgoing_edges_match): Don't look at debug insns
> on the first old_insns_match_p call. For !ACCUMULATE_OUTGOING_ARGS
> fail if the last real insn doesn't have REG_ARGS_SIZE note.
>
> * gcc.dg/pr55094.c: New test.
Ok.
r~