aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--4.9.3/gentoo/39_all_gcc-4.9-parisc-asm-constraint-pr70188.patch45
-rw-r--r--5.3.0/gentoo/39_all_gcc-5-parisc-asm-constraint-pr70188.patch45
2 files changed, 90 insertions, 0 deletions
diff --git a/4.9.3/gentoo/39_all_gcc-4.9-parisc-asm-constraint-pr70188.patch b/4.9.3/gentoo/39_all_gcc-4.9-parisc-asm-constraint-pr70188.patch
new file mode 100644
index 0000000..b7b90d6
--- /dev/null
+++ b/4.9.3/gentoo/39_all_gcc-4.9-parisc-asm-constraint-pr70188.patch
@@ -0,0 +1,45 @@
+https://gcc.gnu.org/bugzilla/PR70188
+https://bugs.gentoo.org/578728
+
+From 9ffe058ae4f191a800b9a694e1b3744dd9a739fa Mon Sep 17 00:00:00 2001
+From: danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Thu, 17 Mar 2016 22:57:19 +0000
+Subject: [PATCH]
+
+2016-03-17 John David Anglin <danglin@gcc.gnu.org>
+
+ PR target/70188
+ * config/pa/constraints.md: Revert 2015-02-13 change. Use
+ define_constraint for "Q" and "T" constraints.
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@234311 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+ gcc/ChangeLog | 6 ++++++
+ gcc/config/pa/constraints.md | 4 ++--
+ 2 files changed, 8 insertions(+), 2 deletions(-)
+
+diff --git a/gcc/config/pa/constraints.md b/gcc/config/pa/constraints.md
+index bfcba37..a9117b9 100644
+--- a/gcc/config/pa/constraints.md
++++ b/gcc/config/pa/constraints.md
+@@ -106,7 +106,7 @@
+ (and (match_code "mem")
+ (match_test "IS_LO_SUM_DLT_ADDR_P (XEXP (op, 0))")))
+
+-(define_memory_constraint "Q"
++(define_constraint "Q"
+ "A memory operand that can be used as the destination operand of an
+ integer store, or the source operand of an integer load. That is
+ any memory operand that isn't a symbolic, indexed or lo_sum memory
+@@ -122,7 +122,7 @@
+ (and (match_code "mem")
+ (match_test "IS_INDEX_ADDR_P (XEXP (op, 0))")))
+
+-(define_memory_constraint "T"
++(define_constraint "T"
+ "A memory operand for floating-point loads and stores."
+ (match_test "floating_point_store_memory_operand (op, mode)"))
+
+--
+2.7.4
+
diff --git a/5.3.0/gentoo/39_all_gcc-5-parisc-asm-constraint-pr70188.patch b/5.3.0/gentoo/39_all_gcc-5-parisc-asm-constraint-pr70188.patch
new file mode 100644
index 0000000..8d2b1f4
--- /dev/null
+++ b/5.3.0/gentoo/39_all_gcc-5-parisc-asm-constraint-pr70188.patch
@@ -0,0 +1,45 @@
+https://gcc.gnu.org/bugzilla/PR70188
+https://bugs.gentoo.org/578728
+
+From dfdd39ae46f056a5502432a32992633321d62cb3 Mon Sep 17 00:00:00 2001
+From: danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Thu, 17 Mar 2016 22:55:38 +0000
+Subject: [PATCH]
+
+2016-03-17 John David Anglin <danglin@gcc.gnu.org>
+
+ PR target/70188
+ * config/pa/constraints.md: Revert 2015-02-13 change. Use
+ define_constraint for "Q" and "T" constraints.
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-5-branch@234310 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+ gcc/ChangeLog | 6 ++++++
+ gcc/config/pa/constraints.md | 4 ++--
+ 2 files changed, 8 insertions(+), 2 deletions(-)
+
+diff --git a/gcc/config/pa/constraints.md b/gcc/config/pa/constraints.md
+index fed0b58..296337c 100644
+--- a/gcc/config/pa/constraints.md
++++ b/gcc/config/pa/constraints.md
+@@ -106,7 +106,7 @@
+ (and (match_code "mem")
+ (match_test "IS_LO_SUM_DLT_ADDR_P (XEXP (op, 0))")))
+
+-(define_memory_constraint "Q"
++(define_constraint "Q"
+ "A memory operand that can be used as the destination operand of an
+ integer store, or the source operand of an integer load. That is
+ any memory operand that isn't a symbolic, indexed or lo_sum memory
+@@ -122,7 +122,7 @@
+ (and (match_code "mem")
+ (match_test "IS_INDEX_ADDR_P (XEXP (op, 0))")))
+
+-(define_memory_constraint "T"
++(define_constraint "T"
+ "A memory operand for floating-point loads and stores."
+ (match_test "floating_point_store_memory_operand (op, mode)"))
+
+--
+2.8.2
+