re PR rtl-optimization/48549 (Combiner ICE with -g)
authorJakub Jelinek <jakub@redhat.com>
Tue, 12 Apr 2011 10:53:47 +0000 (12:53 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 12 Apr 2011 10:53:47 +0000 (12:53 +0200)
commit74f091d686a259e096d7fb316d3a2e60623cdd3d
tree9968c5e0e6d0256753bb87b2978322b8ad68df3b
parentf20ca7258739d74b12cf381293b10f72125732c5
re PR rtl-optimization/48549 (Combiner ICE with -g)

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.

From-SVN: r172311
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr48549.C [new file with mode: 0644]