http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48549
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-12 13:44:35 UTC --- Author: jakub Date: Tue Apr 12 13:44:33 2011 New Revision: 172319 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172319 Log: PR rtl-optimization/48549 * combine.c (propagate_for_debug): Also stop after BB_END of this_basic_block. Process LAST and just stop processing after it. (combine_instructions): If last_combined_insn has been deleted, set last_combined_insn to its PREV_INSN. * g++.dg/opt/pr48549.C: New test. Added: branches/gcc-4_6-branch/gcc/testsuite/g++.dg/opt/pr48549.C Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/combine.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog