[PATCH] Fix up cross-jumping with __builtin_trap or __builtin_unreachable (PR middle-end/55094)

Richard Henderson rth@redhat.com
Mon Nov 19 21:44:00 GMT 2012


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~



More information about the Gcc-patches mailing list