https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61058
--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Sun Feb 1 17:37:06 2015 New Revision: 220328 URL: https://gcc.gnu.org/viewcvs?rev=220328&root=gcc&view=rev Log: Backported from mainline 2015-01-27 Jakub Jelinek <ja...@redhat.com> PR rtl-optimization/61058 * jump.c (cleanup_barriers): Update basic block boundaries if BLOCK_FOR_INSN is non-NULL on PREV. * gcc.dg/pr61058.c: New test. Added: branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/pr61058.c Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/jump.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog