aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-04-05 20:12:54 +0000
committerMike Frysinger <vapier@gentoo.org>2009-04-05 20:12:54 +0000
commiteb2418030c88efa6303d0736166bc93634147f0f (patch)
treea44218ae474d9d61dd903fc4d4ef150b9a34c96c /4.3.2/gentoo
parentalso add patch to 4.3.2 patchset #261111 (diff)
downloadgcc-patches-eb2418030c88efa6303d0736166bc93634147f0f.tar.gz
gcc-patches-eb2418030c88efa6303d0736166bc93634147f0f.tar.bz2
gcc-patches-eb2418030c88efa6303d0736166bc93634147f0f.zip
add fix from upstream for arm softfloat bug PR39501
Diffstat (limited to '4.3.2/gentoo')
-rw-r--r--4.3.2/gentoo/71_all_gcc43-pr39501.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/4.3.2/gentoo/71_all_gcc43-pr39501.patch b/4.3.2/gentoo/71_all_gcc43-pr39501.patch
new file mode 100644
index 0000000..b2b6c7a
--- /dev/null
+++ b/4.3.2/gentoo/71_all_gcc43-pr39501.patch
@@ -0,0 +1,20 @@
+http://gcc.gnu.org/PR39501
+
+2009-04-04 Richard Earnshaw <rearnsha@arm.com>
+
+ PR target/39501
+ * arm.md (movsfcc): Disable if not TARGET_HARD_FLOAT.
+ * testsuite/gcc.c-torture/execute/pr39501.c: New file.
+ * testsuite/gcc.c-torture/execute/pr39501.x: New file.
+
+--- branches/gcc-4_4-branch/gcc/config/arm/arm.md 2009/04/04 11:49:23 145536
++++ branches/gcc-4_4-branch/gcc/config/arm/arm.md 2009/04/04 12:25:06 145537
+@@ -8260,7 +8260,7 @@
+ (if_then_else:SF (match_operand 1 "arm_comparison_operator" "")
+ (match_operand:SF 2 "s_register_operand" "")
+ (match_operand:SF 3 "nonmemory_operand" "")))]
+- "TARGET_32BIT"
++ "TARGET_32BIT && TARGET_HARD_FLOAT"
+ "
+ {
+ enum rtx_code code = GET_CODE (operands[1]);