http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55094
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-01 14:00:19 UTC --- Author: jakub Date: Fri Feb 1 14:00:12 2013 New Revision: 195650 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195650 Log: Backported from mainline 2012-11-20 Jakub Jelinek <ja...@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. Added: branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/pr55094.c Modified: branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/builtins.c branches/gcc-4_7-branch/gcc/cfgcleanup.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog