vapier      16/05/13 17:15:46

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

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

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

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





Reply via email to