summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-02-21 03:34:43 +0200
committerBlackNoxis <steven.darklight@gmail.com>2015-02-21 03:34:43 +0200
commit0acef0cc89d240d1621d0457a431321c42573ed8 (patch)
treeefff10a926771a6831c05163705a3f9f6b6f7480
parentd8a1ed354923af2773f412f9ea913272f84a07e0 (diff)
Adding the new patch
-rw-r--r--sys-devel/gcc/files/gcc-4.6.4-fix-ICE-on-arm.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys-devel/gcc/files/gcc-4.6.4-fix-ICE-on-arm.patch b/sys-devel/gcc/files/gcc-4.6.4-fix-ICE-on-arm.patch
new file mode 100644
index 00000000..578506a9
--- /dev/null
+++ b/sys-devel/gcc/files/gcc-4.6.4-fix-ICE-on-arm.patch
@@ -0,0 +1,24 @@
+--- gcc-4.6.4/gcc/config/arm/arm.md
++++ gcc-4.6.4/gcc/config/arm/arm.md
+@@ -4202,7 +4202,9 @@
+ #
+ ldr%(h%)\\t%0, %1"
+ [(set_attr "type" "alu_shift,load_byte")
+- (set_attr "predicable" "yes")]
++ (set_attr "predicable" "yes")
++ (set_attr "pool_range" "*,256")
++ (set_attr "neg_pool_range" "*,244")]
+ )
+
+ (define_insn "*arm_zero_extendhisi2_v6"
+@@ -4213,7 +4215,9 @@
+ uxth%?\\t%0, %1
+ ldr%(h%)\\t%0, %1"
+ [(set_attr "type" "alu_shift,load_byte")
+- (set_attr "predicable" "yes")]
++ (set_attr "predicable" "yes")
++ (set_attr "pool_range" "*,256")
++ (set_attr "neg_pool_range" "*,244")]
+ )
+
+ (define_insn "*arm_zero_extendhisi2addsi"