vapier      16/05/13 17:15:47

  Added:                39_all_gcc-4.9-parisc-asm-constraint-pr70188.patch
  Log:
  fix from upstream for inline asm miscompilation for parisc #578728

Revision  Changes    Path
1.1                  
src/patchsets/gcc/4.9.3/gentoo/39_all_gcc-4.9-parisc-asm-constraint-pr70188.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.9.3/gentoo/39_all_gcc-4.9-parisc-asm-constraint-pr70188.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.9.3/gentoo/39_all_gcc-4.9-parisc-asm-constraint-pr70188.patch?rev=1.1&content-type=text/plain

Index: 39_all_gcc-4.9-parisc-asm-constraint-pr70188.patch
===================================================================
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  <[email protected]>

        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





Reply via email to