From patchwork Fri Jul 31 22:22:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kaz Kojima X-Patchwork-Id: 502746 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 AF6DD1402BD for ; Sat, 1 Aug 2015 08:23:04 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=kP/kyQ7Q; 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:date :message-id:to:subject:from:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=fX/Ya04WCojQPp9w IXTrXDEdVwTK7CnTr8+RmU4oSKffiSdI1XykQfTZUH0U1TEw43g1wAQP782Eszji 34bGT1zjh5FX4Vi4GnjtQZzd1em1x4cPBUnE3DzIYYDI1pek2GD2SzgvMjmSZ1EP AUjrd2wcvt1VETOlWzlX79ALzKg= 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:date :message-id:to:subject:from:mime-version:content-type :content-transfer-encoding; s=default; bh=Od4eyr/7U4E+W3Bz5flXpK OXHEA=; b=kP/kyQ7QCBZXyg4Zdo56TEFnkBXWe/k1FvXGGfSDv/0wV0HdCWIHef jCbRE/1e1LnEQ75rNJyqjvQT8Ev7XjYiYiAucOwBp+kV3TYY2EX1tFTBzBG7vr6I lPauGfjE5epn8N6iypOGO7PYZUoUNxY3jc+h90++rM7FT7zOyrvQs= Received: (qmail 96414 invoked by alias); 31 Jul 2015 22:22: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 96316 invoked by uid 89); 31 Jul 2015 22:22:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mo-sw.iij4u.or.jp Received: from mo-sw1500.iij4u.or.jp (HELO mo-sw.iij4u.or.jp) (210.130.239.240) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 31 Jul 2015 22:22:14 +0000 Received: by mo-sw.iij4u.or.jp (4u-mo-sw1500) id t6VMMAxa030593; Sat, 1 Aug 2015 07:22:11 +0900 Received: from localhost (24.26.30.125.dy.iij4u.or.jp [125.30.26.24]) by mbox.iij4u.or.jp (4u-mbox1501) id t6VMM4v5018648; Sat, 1 Aug 2015 07:22:08 +0900 Date: Sat, 01 Aug 2015 07:22:04 +0900 (JST) Message-Id: <20150801.072204.319121743.kkojima@rr.iij4u.or.jp> To: gcc-patches@gcc.gnu.org Subject: [patch committed SH] Fix PR target/67049 From: Kaz Kojima Mime-Version: 1.0 X-IsSubscribed: yes I've committed the one liner below to fix PR target/67049 which causes build failures for sh64-elf on 5/6. There is a typo in GOTaddr2picreg, which is my bad. Tested on sh64-unknown-elf. Regards, kaz --- 2015-07-31 Kaz Kojima PR target/67049 * config/sh/sh.md (GOTaddr2picreg): Fix typo. diff --git a/config/sh/sh.md b/config/sh/sh.md index 61f6637..ad49f72 100644 --- a/config/sh/sh.md +++ b/config/sh/sh.md @@ -10638,7 +10638,7 @@ label: if (TARGET_SHMEDIA) { rtx tr = gen_rtx_REG (Pmode, TR0_REG); - rtx pic = operands[0]; + rtx pic = operands[1]; rtx lab = PATTERN (gen_call_site ()); rtx insn, equiv;