diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/arm/arm.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e70f2e8..5679eb4 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 826bbac..5e7bbe7 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 |