From: Daniel Jacobowitz Date: Fri, 23 Jan 2004 16:33:43 +0000 (+0000) Subject: arm.c (arm_legitimate_address_p): Don't check the mode size for minipool references. X-Git-Tag: releases/gcc-4.0.0~10794 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0bfb39efecda063244731c8d63ae25eb834acf57;p=thirdparty%2Fgcc.git arm.c (arm_legitimate_address_p): Don't check the mode size for minipool references. * config/arm/arm.c (arm_legitimate_address_p): Don't check the mode size for minipool references. From-SVN: r76429 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e70f2e8e3bcb..5679eb4a5340 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 826bbac0fabf..5e7bbe7753e7 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