PR debug/48343
commit0444b5eb2f181ec6a268515ec3699540ce386e7d
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Apr 2011 17:57:26 +0000 (7 17:57 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Apr 2011 17:57:26 +0000 (7 17:57 +0000)
treec12169e0cadfbd415412892bc0dfc3f566d17d3b
parent60228bb8a645fd7174a8a996dab714dc5c811636
PR debug/48343
* combine.c (combine_instructions): Add last_combined_insn,
update it if insn is after it, pass it to all try_combine
calls.
(try_combine): Add last_combined_insn parameter, pass it instead of
i3 to propagate_for_debug.

* gcc.dg/torture/pr48343.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172108 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog