http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46629
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-07 15:23:21 UTC --- Author: jakub Date: Tue Dec 7 15:23:15 2010 New Revision: 167545 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167545 Log: Backport from mainline 2010-11-24 Jakub Jelinek <ja...@redhat.com> PR middle-end/46629 * cfgexpand.c (maybe_cleanup_end_of_block): Test NEXT_INSN (insn) instead of insn with any_condjump_p. 2010-11-23 Jakub Jelinek <ja...@redhat.com> PR middle-end/46499 * cfgexpand.c (maybe_cleanup_end_of_block): Remove also BARRIERs following unconditional jumps. * gcc.dg/pr46499-1.c: New test. * gcc.dg/pr46499-2.c: New test. Added: branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/pr46499-1.c branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/pr46499-2.c Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/cfgexpand.c branches/gcc-4_5-branch/gcc/testsuite/ChangeLog