* reload.c (find_reloads_address): Fix typo.

From-SVN: r154253
This commit is contained in:
Ulrich Weigand 2009-11-17 16:11:44 +00:00 committed by Ulrich Weigand
parent 9870fe4f88
commit 263839d33b
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* reload.c (find_reloads_address): Fix typo.
2009-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* config/spu/spu.c (get_pic_reg): Use LAST_ARG_REGNUM as PIC

View File

@ -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.