From patchwork Tue Nov 10 21:13:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 542621 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 5E4281402B3 for ; Wed, 11 Nov 2015 08:13:25 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=lLeQhPTz; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=UqMXxMXqFiBbp2yDgfTDhTuDXrLTafYlkL7CMGUrvc+TYwKdIX PfXyOiR+HwMHt+SrWUMQ0Ecb6Yjyuq4hbM95RyqZe7hiD9bCeTQq1kF7e3yh3EHc xKaClZS5pmi/iskuwrVaVOD0xCR0xRIuEjLuAbX8k0H0bnwY4jBmSAiIY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=JMlSAEG2yJYSsZjHC5JfP+Ax9Os=; b=lLeQhPTzke4SR5mYR1RJ DD7yQElxXSL+WMi9zrQuPyJKErQWn1BiLsDHFczBUinfAW+9BJ9eqdkAglVRw/0U RbEHt3/2V6bEFmzXq0DD2fFGXfi3W4G8DtVQLlg0cUYiGKv6nynNRLu4Db9omhCc 3DnqLzDKeVlkvm0mzKGQc1c= Received: (qmail 58821 invoked by alias); 10 Nov 2015 21:13:17 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 58779 invoked by uid 89); 10 Nov 2015 21:13:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 10 Nov 2015 21:13:15 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id C3B3B42E5D7 for ; Tue, 10 Nov 2015 21:13:14 +0000 (UTC) Received: from localhost.localdomain (ovpn-113-57.phx2.redhat.com [10.3.113.57]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id tAALDEUi002336 for ; Tue, 10 Nov 2015 16:13:14 -0500 To: gcc-patches From: Jeff Law Subject: [PATCH] Fix minor fallout from output_address changes Message-ID: <56425DEA.2030800@redhat.com> Date: Tue, 10 Nov 2015 14:13:14 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 X-IsSubscribed: yes The ft32 and moxie ports failed to build after the recent output_address changes. Fixed thusly and committed to the trunk after verifying the moxie and ft32 ports in config-list.mk build again. Jeff commit b408dd85568c5d0c0a9673810280a8438753b60f Author: law Date: Tue Nov 10 21:11:07 2015 +0000 [PATCH] Fix minor fallout from output_address changes 2015-11-10 Jeff Law * config/ft32/ft32.c (ft32_print_operand): Supply mode to call to output_address. * config/moxie/moxie.c (moxie_print_operand_address): Similarly. Add unnamed machine_mode argument. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230130 138bc75d-0d04-0410-961f-82ee72b054a4 diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2c966e7..84481ef 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2015-11-10 Jeff Law + + * config/ft32/ft32.c (ft32_print_operand): Supply mode to + call to output_address. + * config/moxie/moxie.c (moxie_print_operand_address): Similarly. + Add unnamed machine_mode argument. + 2015-11-10 Michael Meissner * config.gcc (powerpc*-*-*, rs6000*-*-*): Add power9 to hosts that diff --git a/gcc/config/ft32/ft32.c b/gcc/config/ft32/ft32.c index 85e5ba3..ab62061 100644 --- a/gcc/config/ft32/ft32.c +++ b/gcc/config/ft32/ft32.c @@ -238,7 +238,7 @@ ft32_print_operand (FILE * file, rtx x, int code) return; case MEM: - output_address (XEXP (operand, 0)); + output_address (GET_MODE (XEXP (operand, 0)), XEXP (operand, 0)); return; default: diff --git a/gcc/config/moxie/moxie.c b/gcc/config/moxie/moxie.c index a45b825..756e2f7 100644 --- a/gcc/config/moxie/moxie.c +++ b/gcc/config/moxie/moxie.c @@ -106,7 +106,7 @@ moxie_operand_lossage (const char *msgid, rtx op) /* The PRINT_OPERAND_ADDRESS worker. */ static void -moxie_print_operand_address (FILE *file, rtx x) +moxie_print_operand_address (FILE *file, machine_mode, rtx x) { switch (GET_CODE (x)) { @@ -183,7 +183,7 @@ moxie_print_operand (FILE *file, rtx x, int code) return; case MEM: - output_address (XEXP (operand, 0)); + output_address (GET_MODE (XEXP (operand, 0)), XEXP (operand, 0)); return; default: