From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 100903 invoked by alias); 1 Jun 2017 16:04:12 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 100888 invoked by uid 89); 1 Jun 2017 16:04:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 01 Jun 2017 16:04:09 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 47891344 for ; Thu, 1 Jun 2017 09:04:12 -0700 (PDT) Received: from [10.2.206.52] (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E87B93F578 for ; Thu, 1 Jun 2017 09:04:11 -0700 (PDT) To: "gcc-patches@gcc.gnu.org" From: Thomas Preudhomme Subject: [PATCH, GCC, ARM/embedded-6-branch] Add mode to probe_stack set operands Message-ID: <9a2bb193-6ade-a6db-68f2-aebd6e1cfc32@foss.arm.com> Date: Thu, 01 Jun 2017 16:04:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------A1C0EBCFECD188CD98C79D8A" X-IsSubscribed: yes X-SW-Source: 2017-06/txt/msg00060.txt.bz2 This is a multi-part message in MIME format. --------------A1C0EBCFECD188CD98C79D8A Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-length: 388 Hi, We have decided to apply the following patch to the embedded-6-branch to fix a genrecog warning when processing arm.md. 2017-06-01 Thomas Preud'homme Backport from gcc-7-branch 2016-05-09 Kyrylo Tkachov * config/arm/arm.md (probe_stack): Add modes to set source and destination. Best regards, Thomas --------------A1C0EBCFECD188CD98C79D8A Content-Type: text/x-patch; name="add_mobe_probe_stack.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="add_mobe_probe_stack.patch" Content-length: 1144 diff --git a/gcc/ChangeLog.arm b/gcc/ChangeLog.arm index 8cde4f43ee65184c316ab4c7e5b78c5bb0c6e7bb..863cf5483bb8ad086573caf59aed7b095b9b6c09 100644 --- a/gcc/ChangeLog.arm +++ b/gcc/ChangeLog.arm @@ -1,5 +1,13 @@ 2017-06-01 Thomas Preud'homme + Backport from gcc-7-branch + 2016-05-09 Kyrylo Tkachov + + * config/arm/arm.md (probe_stack): Add modes to set source + and destination. + +2017-06-01 Thomas Preud'homme + Backport from mainline 2017-05-03 Thomas Preud'homme diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md index 7f6914884b080f6c98d88f134c1379818882a05b..37ef1b3a4ad8d3ae8310a0da2d702499766a6828 100644 --- a/gcc/config/arm/arm.md +++ b/gcc/config/arm/arm.md @@ -8220,8 +8220,8 @@ ) (define_insn "probe_stack" - [(set (match_operand 0 "memory_operand" "=m") - (unspec [(const_int 0)] UNSPEC_PROBE_STACK))] + [(set (match_operand:SI 0 "memory_operand" "=m") + (unspec:SI [(const_int 0)] UNSPEC_PROBE_STACK))] "TARGET_32BIT" "str%?\\tr0, %0" [(set_attr "type" "store1") --------------A1C0EBCFECD188CD98C79D8A--