re PR target/34641 (ICE in reload_cse_simplify_operands, at postreload.c:395)
authorAndreas Krebbel <krebbel1@de.ibm.com>
Thu, 10 Jan 2008 16:46:26 +0000 (16:46 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Thu, 10 Jan 2008 16:46:26 +0000 (16:46 +0000)
commit90d12f1f04dc8a9e11716c79d2411eb922c13b49
treec912dd79c520074e69014d7ec858c8c2b20c84cf
parent71ae85578b806e93eb8fbd58bfe618c5901b52aa
re PR target/34641 (ICE in reload_cse_simplify_operands, at postreload.c:395)

2008-01-10  Andreas Krebbel  <krebbel1@de.ibm.com>

PR middle-end/34641
* reload.c (push_reload): Add assertions.  All constants from
reg_equiv_constant should have been used for replacing the respective
pseudo earlier.
(find_reloads_address): Invoke find_reloads_address_part for
constant taken from the reg_equiv_constant array.

2008-01-10  Andreas Krebbel  <krebbel1@de.ibm.com>

PR middle-end/34641
* g++.dg/torture/pr34641.C: New testcase.

From-SVN: r131445
gcc/ChangeLog
gcc/reload.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr34641.C [new file with mode: 0644]