From 191b18e9de50031b9b526079cd025f9755357f01 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Wed, 23 Sep 1992 19:26:34 -0400 Subject: [PATCH] (find_reloads_address): Properly check for constant address. From-SVN: r2220 --- gcc/reload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- 2.30.2