From patchwork Thu May 31 21:00:22 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleg Endo X-Patchwork-Id: 162234 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]) by ozlabs.org (Postfix) with SMTP id E591BB6FC3 for ; Fri, 1 Jun 2012 07:00:46 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1339102847; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Message-ID:Subject:From:To:Date:Content-Type:Mime-Version: Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:Sender:Delivered-To; bh=x4+Zix11bOv6fZiWGdTv PR2TF8c=; b=AzRh2r6iyXECHU8ZaFwbeaVBMXLg8qNYTYQcDTB+AgIhI9du9mpS MlpgFBpADgcLRFh0fEiQDqK4dp1z3LgIfQk+aVnnnevpRLJqsgUTL8PPhucyJOYq 89OqEAcPOlev4RYpzcATUp0aT/RpGY4MFnXifY89NlEIgEjU5Gsq4/E= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Message-ID:Subject:From:To:Date:Content-Type:Mime-Version:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=h/B/wSCvfYOHwU+K74n4rTWiSinOYSOMg+XIc2t+Gevi4n4zhVpOSrFM+Sm3yO cfqTIxQzKXIyzEfPBw7s1bIPOSoNEk627KY8K5SLlw1k+4FAwgOcBJvzmX8wIVQD bgCHEAyR5Y7D8a4R68UCq1h3H996IThQCOZyZRgA6w13Q=; Received: (qmail 12060 invoked by alias); 31 May 2012 21:00:42 -0000 Received: (qmail 12048 invoked by uid 22791); 31 May 2012 21:00:41 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_HOSTKARMA_NO, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org Received: from mailout02.t-online.de (HELO mailout02.t-online.de) (194.25.134.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 31 May 2012 21:00:28 +0000 Received: from fwd15.aul.t-online.de (fwd15.aul.t-online.de ) by mailout02.t-online.de with smtp id 1SaCTr-0007wO-6M; Thu, 31 May 2012 23:00:27 +0200 Received: from [192.168.0.104] (TJ8LT4ZLrhMcJ8oFUVI7PbnUJWJaqo57XYVQLhOd6pI3fTwWKgnQH+NT9RkTpZGQx9@[87.157.62.42]) by fwd15.t-online.de with esmtp id 1SaCTn-2HrJIm0; Thu, 31 May 2012 23:00:23 +0200 Message-ID: <1338498022.2146.10.camel@yam-132-YW-E178-FTW> Subject: [SH, 4.7] Backport Fix sh64-elf build failure [3/3] From: Oleg Endo To: gcc-patches Date: Thu, 31 May 2012 23:00:22 +0200 Mime-Version: 1.0 X-IsSubscribed: yes 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 Original patch: http://gcc.gnu.org/ml/gcc-patches/2012-03/msg00210.html 'Tested' with.. ../gcc-4_7-branch/configure --target=sh-elf --prefix=/usr/local --enable-languages=c,c++ --enable-multilib --disable-libssp --disable-nls --disable-werror --enable-lto --with-newlib --with-gnu-as --with-gnu-ld --with-system-zlib make all OK for 4.7 branch? ChangeLog: Backport from mainline 2012-03-03 Kaz Kojima * config/sh/sh.md (abssi2): Add TARGET_SH1 condition. Index: gcc/config/sh/sh.md =================================================================== --- gcc/config/sh/sh.md (revision 188026) +++ gcc/config/sh/sh.md (working copy) @@ -4462,7 +4462,7 @@ [(set (match_operand:SI 0 "arith_reg_dest" "") (abs:SI (match_operand:SI 1 "arith_reg_operand" ""))) (clobber (reg:SI T_REG))] - "" + "TARGET_SH1" "") (define_insn_and_split "*abssi2"