diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e70f2e8e3bcb7ebc3cbd83077985c8a141117447..5679eb4a534024b2e751917776cb1c77617e7001 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-01-23 Daniel Jacobowitz <drow@mvista.com> + + * config/arm/arm.c (arm_legitimate_address_p): Don't check the mode + size for minipool references. + 2004-01-23 Roger Sayle <roger@eyesopen.com> * 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 826bbac0fabf8362e1569c70d0f053e80ff4698b..5e7bbe7753e72e553299f7c40b9af886dc4204e7 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