From: Richard Kenner Date: Wed, 23 Sep 1992 23:26:34 +0000 (-0400) Subject: (find_reloads_address): Properly check for constant address. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=191b18e9de50031b9b526079cd025f9755357f01;p=gcc.git (find_reloads_address): Properly check for constant address. From-SVN: r2220 --- diff --git a/gcc/reload.c b/gcc/reload.c index 955af5fb0fd..b5f844ba3fa 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -3775,7 +3775,7 @@ find_reloads_address (mode, memrefloc, ad, loc, operand, ind_levels) /* If constants aren't valid addresses, reload the constant address into a register. */ - if (CONSTANT_ADDRESS_P (ad) && ! strict_memory_address_p (mode, ad)) + if (CONSTANT_P (ad) && ! strict_memory_address_p (mode, ad)) { /* If AD is in address in the constant pool, the MEM rtx may be shared. Unshare it so we can safely alter it. */