From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67778 invoked by alias); 5 Jul 2019 15:13:58 -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 67770 invoked by uid 89); 5 Jul 2019 15:13:58 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-5.5 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3,MEDICAL_SUBJECT,SPF_PASS autolearn=ham version=3.3.1 spammy=qhi, QHI X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.110.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 05 Jul 2019 15:13:57 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8231D28; Fri, 5 Jul 2019 08:13:55 -0700 (PDT) Received: from localhost (e121540-lin.manchester.arm.com [10.32.98.39]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0D3693F246; Fri, 5 Jul 2019 08:13:54 -0700 (PDT) From: Richard Sandiford To: gcc-patches@gcc.gnu.org Mail-Followup-To: gcc-patches@gcc.gnu.org,law@redhat.com, richard.sandiford@arm.com Cc: law@redhat.com Subject: [04/11] [h8300] Fix ambiguous .md attribute uses References: Date: Fri, 05 Jul 2019 15:15:00 -0000 In-Reply-To: (Richard Sandiford's message of "Fri, 05 Jul 2019 16:05:51 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2019-07/txt/msg00453.txt.bz2 This patch is part of a series that fixes ambiguous attribute uses in .md files, i.e. cases in which attributes didn't use to specify an iterator, and in which could have different values depending on the iterator chosen. No behavioural change -- produces the same code as before. 2019-07-05 Richard Sandiford gcc/ * config/h8300/h8300.md (*push1_h8300hs_): Explicitly specify the mode iterator referenced by , giving... (*push1_h8300hs_): ...this. Index: gcc/config/h8300/h8300.md =================================================================== --- gcc/config/h8300/h8300.md 2019-07-01 09:37:07.328523581 +0100 +++ gcc/config/h8300/h8300.md 2019-07-05 15:06:32.491921996 +0100 @@ -728,7 +728,7 @@ (define_insn "*pushqi1_h8300" "mov.w\\t%T0,@-r7" [(set_attr "length" "2")]) -(define_insn "*push1_h8300hs_" +(define_insn "*push1_h8300hs_" [(set (mem:QHI (pre_modify:P (reg:P SP_REG)