re PR target/36745 (ICE in gen_reg_rtx, at emit-rtl.c:868)
authorAndreas Krebbel <krebbel1@de.ibm.com>
Mon, 14 Jul 2008 06:56:46 +0000 (06:56 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Mon, 14 Jul 2008 06:56:46 +0000 (06:56 +0000)
commit1f9e1fc69b80fcc48f4df72fb0a3d9020f802a46
tree248042c82d6c3e0c548673cd33a0225dc6bfff91
parent5950c3c9a7729687a04f9b008e441959a2d9114d
re PR target/36745 (ICE in gen_reg_rtx, at emit-rtl.c:868)

2008-07-14  Andreas Krebbel  <krebbel1@de.ibm.com>

PR target/36745
* config/s390/s390.c: (s390_secondary_reload): Add a secondary
reload for symbol refs moved to r0 with -fPIC.
(legitimize_pic_address): Use the target register as temporary
reg if possible.
(emit_symbolic_move): Adjust comment.
* config/s390/s390.md (reloadsi_PIC_addr, reloaddi_PIC_addr):
New expanders.

2008-07-14  Andreas Krebbel  <krebbel1@de.ibm.com>

PR target/36745
* g++.dg/torture/pr36745.C: New testcase.

From-SVN: r137777
gcc/ChangeLog
gcc/config/s390/s390.c
gcc/config/s390/s390.md
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr36745.C [new file with mode: 0644]