re PR target/40971 (ICE in memory_address)
authorJakub Jelinek <jakub@redhat.com>
Tue, 18 Aug 2009 11:42:07 +0000 (13:42 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 18 Aug 2009 11:42:07 +0000 (13:42 +0200)
commitf3252b3c18e688f43df708d0003f0b6e0f89cc17
tree5241028b107c2cf85d8f0660f93ee0ecbcd300fc
parent68a315304bedd286bcb99966ec7b3a3d21c0ccc0
re PR target/40971 (ICE in memory_address)

PR target/40971
* config/rs6000/rs6000.c (rs6000_legitimize_address): For
[DT][FDI]mode ensure the offset isn't 4/8/12 bytes below 0x8000.

* gcc.dg/pr40971.c: New test.

From-SVN: r150869
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr40971.c [new file with mode: 0644]