summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@free.fr>2014-04-18 20:46:06 (GMT)
committerYann E. MORIN" <yann.morin.1998@free.fr>2014-04-18 20:46:06 (GMT)
commit55f1acba73c6262a770fc8f06b133ca4ee9e8ebf (patch)
treea399eebeaddb02e36788720f7740cac23230f772
parentab5fa8d8a313de0f03dfa47a649644469e49f4ec (diff)
cc/gcc: fix the PR58595 patch
It applies manually with fuzz 2, but ct-ng does not accept any fuxx at all. So, re-diff the patch so it applies cleanly. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
-rw-r--r--patches/gcc/4.7.3/100-fix-PR-target-58595.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/gcc/4.7.3/100-fix-PR-target-58595.patch b/patches/gcc/4.7.3/100-fix-PR-target-58595.patch
index 656952c..11b2d5d 100644
--- a/patches/gcc/4.7.3/100-fix-PR-target-58595.patch
+++ b/patches/gcc/4.7.3/100-fix-PR-target-58595.patch
@@ -77,7 +77,7 @@ index ce24bfe..af5666b 100644
- return legitimize_tls_address (x, NULL_RTX);
-
if (GET_CODE (x) == PLUS
- && CONST_INT_P (XEXP (x, 1))
+ && GET_CODE (XEXP (x, 1)) == CONST_INT
&& (INTVAL (XEXP (x, 1)) >= 32 * GET_MODE_SIZE (mode)
@@ -7756,20 +7775,6 @@ thumb_legitimize_reload_address (rtx *x_p,