diff options
author | 2016-05-13 17:15:46 +0000 | |
---|---|---|
committer | 2016-05-13 17:15:46 +0000 | |
commit | bd0925a9d2fff9bfacea3770d9d4013ec980193d (patch) | |
tree | f75da97be76114d293c551e8c5d7273439b75019 /4.9.3 | |
parent | Add patch for bug #574044 and push out p1.1. (diff) | |
download | gcc-patches-bd0925a9d2fff9bfacea3770d9d4013ec980193d.tar.gz gcc-patches-bd0925a9d2fff9bfacea3770d9d4013ec980193d.tar.bz2 gcc-patches-bd0925a9d2fff9bfacea3770d9d4013ec980193d.zip |
fix from upstream for inline asm miscompilation for parisc #578728
Diffstat (limited to '4.9.3')
-rw-r--r-- | 4.9.3/gentoo/39_all_gcc-4.9-parisc-asm-constraint-pr70188.patch | 45 |
1 files changed, 45 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 + |