summaryrefslogtreecommitdiff
path: root/gcc/gcc-3.4.0/gcc34-pre-modify.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcc-3.4.0/gcc34-pre-modify.patch')
-rw-r--r--gcc/gcc-3.4.0/gcc34-pre-modify.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/gcc-3.4.0/gcc34-pre-modify.patch b/gcc/gcc-3.4.0/gcc34-pre-modify.patch
index e69de29bb2..e850c35804 100644
--- a/gcc/gcc-3.4.0/gcc34-pre-modify.patch
+++ b/gcc/gcc-3.4.0/gcc34-pre-modify.patch
@@ -0,0 +1,11 @@
+--- gcc-3.4.0/gcc/config/arm/arm.c~ 2004-04-12 17:17:05.000000000 +0100
++++ gcc-3.4.0/gcc/config/arm/arm.c 2004-04-25 21:27:08.000000000 +0100
+@@ -2739,7 +2739,7 @@
+ && GET_MODE_SIZE (mode) <= 4
+ && arm_address_register_rtx_p (XEXP (x, 0), strict_p)
+ && GET_CODE (XEXP (x, 1)) == PLUS
+- && XEXP (XEXP (x, 1), 0) == XEXP (x, 0))
++ && rtx_equal_p (XEXP (XEXP (x, 1), 0), XEXP (x, 0)))
+ return arm_legitimate_index_p (mode, XEXP (XEXP (x, 1), 1), strict_p);
+
+ /* After reload constants split into minipools will have addresses