aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@mvista.com>2004-01-23 16:33:43 +0000
committerDaniel Jacobowitz <drow@gcc.gnu.org>2004-01-23 16:33:43 +0000
commit0bfb39efecda063244731c8d63ae25eb834acf57 (patch)
tree4293ef0a7745dd28b1678829350a02c9ab949060 /gcc
parent25348c94e7a966a65fe94f62563ad1982f2f9923 (diff)
downloadgcc-0bfb39efecda063244731c8d63ae25eb834acf57.zip
gcc-0bfb39efecda063244731c8d63ae25eb834acf57.tar.gz
gcc-0bfb39efecda063244731c8d63ae25eb834acf57.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/arm.c2
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