diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-21 17:21:30 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-21 17:21:30 +0000 |
commit | 25dd612e84678972313516b9b935fa3959a2cd60 (patch) | |
tree | 24e4c33ad0ca5ee52147f1c54c49fc8e17575f21 /gcc/reload.c | |
parent | 054f015a946adc4e35050757613873fd8ed92178 (diff) | |
download | gcc-25dd612e84678972313516b9b935fa3959a2cd60.tar.gz |
2009-11-21 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 154407
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@154408 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reload.c')
-rw-r--r-- | gcc/reload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reload.c b/gcc/reload.c index 3333697f2e0..a7791c2869e 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -5239,7 +5239,7 @@ find_reloads_address (enum machine_mode mode, rtx *memrefloc, rtx ad, if (CONSTANT_P (ad) && ! strict_memory_address_addr_space_p (mode, ad, as)) { enum machine_mode address_mode = GET_MODE (ad); - if (ad == VOIDmode) + if (address_mode == VOIDmode) address_mode = targetm.addr_space.address_mode (as); /* If AD is an address in the constant pool, the MEM rtx may be shared. |