From 0acef0cc89d240d1621d0457a431321c42573ed8 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Sat, 21 Feb 2015 03:34:43 +0200 Subject: Adding the new patch --- sys-devel/gcc/files/gcc-4.6.4-fix-ICE-on-arm.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 sys-devel/gcc/files/gcc-4.6.4-fix-ICE-on-arm.patch (limited to 'sys-devel/gcc/files') 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" -- cgit v1.2.3