re PR debug/48343 (ICE compiling i586 linux-2.6.38/drivers/staging/wlan-ng/p80211wep...
authorJakub Jelinek <jakub@gcc.gnu.org>
Thu, 7 Apr 2011 17:58:05 +0000 (19:58 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 7 Apr 2011 17:58:05 +0000 (19:58 +0200)
commit54f16bf8f37128b5db6aa35fac9559632885d265
tree7b745741c1ef570135f7364793431ffaa7e0cabf
parent4e626909c7d92d3a6964180f9232b59aaf85b426
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: r172109
gcc/testsuite/gcc.dg/torture/pr48343.c [new file with mode: 0644]