re PR debug/48343 (ICE compiling i586 linux-2.6.38/drivers/staging/wlan-ng/p80211wep...
authorJakub Jelinek <jakub@redhat.com>
Thu, 7 Apr 2011 17:57:26 +0000 (19:57 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 7 Apr 2011 17:57:26 +0000 (19:57 +0200)
commit4e626909c7d92d3a6964180f9232b59aaf85b426
treec12169e0cadfbd415412892bc0dfc3f566d17d3b
parent2e3597fef801d55ee7cf160ced26b7418240c17d
re PR debug/48343 (ICE compiling i586 linux-2.6.38/drivers/staging/wlan-ng/p80211wep.c: in form_sum, at reload.c:5338)

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.

From-SVN: r172108
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog