diff options
author | Alan Modra <amodra@gmail.com> | 2010-06-22 20:14:11 +0930 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2010-06-22 20:14:11 +0930 |
commit | 8d2547f23f5ffbcc884ad0218def1ff3b9fc516b (patch) | |
tree | 9301d636aeb8282a23bfd34356ae6754e571e6de /gcc/caller-save.c | |
parent | 3a4ec5cc08d808313a7e0d820193a9c405a313c5 (diff) | |
download | gcc-8d2547f23f5ffbcc884ad0218def1ff3b9fc516b.tar.gz |
re PR target/44364 (Wrong code with e500 double floating point)
PR target/44364
* config/rs6000/e500.h (HARD_REGNO_CALLER_SAVE_MODE): Define.
* caller-save.c (insert_restore, insert_save): Use non-validate
form of adjust_address.
From-SVN: r161163
Diffstat (limited to 'gcc/caller-save.c')
-rw-r--r-- | gcc/caller-save.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/caller-save.c b/gcc/caller-save.c index 6bcfd4bf4c7..78b508cc535 100644 --- a/gcc/caller-save.c +++ b/gcc/caller-save.c @@ -1212,7 +1212,7 @@ insert_restore (struct insn_chain *chain, int before_p, int regno, /* Check that insn to restore REGNO in save_mode[regno] is correct. */ && reg_save_code (regno, save_mode[regno]) >= 0) - mem = adjust_address (mem, save_mode[regno], 0); + mem = adjust_address_nv (mem, save_mode[regno], 0); else mem = copy_rtx (mem); @@ -1293,7 +1293,7 @@ insert_save (struct insn_chain *chain, int before_p, int regno, /* Check that insn to save REGNO in save_mode[regno] is correct. */ && reg_save_code (regno, save_mode[regno]) >= 0) - mem = adjust_address (mem, save_mode[regno], 0); + mem = adjust_address_nv (mem, save_mode[regno], 0); else mem = copy_rtx (mem); |