diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e70f2e8e3bc..5679eb4a534 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-01-23 Daniel Jacobowitz + + * config/arm/arm.c (arm_legitimate_address_p): Don't check the mode + size for minipool references. + 2004-01-23 Roger Sayle * real.c (real_floor, real_ceil): Tweak to allow input and output diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 826bbac0fab..5e7bbe7753e 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -2741,7 +2741,7 @@ arm_legitimate_address_p (enum machine_mode mode, rtx x, int strict_p) /* After reload constants split into minipools will have addresses from a LABEL_REF. */ - else if (GET_MODE_SIZE (mode) >= 4 && reload_completed + else if (reload_completed && (GET_CODE (x) == LABEL_REF || (GET_CODE (x) == CONST && GET_CODE (XEXP (x, 0)) == PLUS