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
registers in leaf functions if possible.
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.