From patchwork Fri May 8 12:52:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Franz Sirl X-Patchwork-Id: 470028 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 6C9B31401AB for ; Fri, 8 May 2015 22:52:52 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=UIRec3FE; 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 :message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type; q=dns; s=default; b=azbqWYN5TMhbpu87p 5X4cNz9tJGK5kiSmPZfT5Is/R3V4cWB8q/Xd+7HR/Di2eN2c0LrOxh0lpxTBRjVi SZNMg8eSKbNySne7b9+Y1coc1kRXDavoIe2VDDozQDrtl1EBeC0M+odogER0/xIh cxpo0lIKiHNPEbBzgL+3u/8IE0= 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 :message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type; s=default; bh=nth4h+BDP3ihkEttHOZuDGz 6By0=; b=UIRec3FEfkp4TNz48Kc3PbMjJawH2ch109PI3Az7Ek0vqVmdeBI1Run XxZr0neDObPAmQrC7FOk8ek+iicFV6CyV5jKkXZiWIgdpOJhW08g8ExT1rjOjSAw mp20b2QRdRXbpSK57qiLB/JBVJf248ioTeBNCzmPJVXK1EJeV9hg= Received: (qmail 86488 invoked by alias); 8 May 2015 12:52:44 -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 86475 invoked by uid 89); 8 May 2015 12:52:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL, BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_NONE, T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: smtp2.lauterbach.com Received: from smtp2.lauterbach.com (HELO smtp2.lauterbach.com) (62.154.241.199) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with SMTP; Fri, 08 May 2015 12:52:43 +0000 Received: (qmail 16473 invoked by uid 87); 8 May 2015 12:52:40 -0000 Received: from 10.2.11.10 by smtp2 (envelope-from , uid 80) with qmail-scanner-1.23 (inocmd7run: /. spamassassin: 2.64. Clear:RC:1(10.2.11.10):. Processed in 24.15457 secs); 08 May 2015 12:52:40 -0000 Received: from unknown (HELO ?10.2.11.10?) (10.2.11.10) by smtp2.lauterbach.com with SMTP; 8 May 2015 12:52:15 -0000 Message-ID: <554CB17E.4040406@lauterbach.com> Date: Fri, 08 May 2015 14:52:14 +0200 From: Franz Sirl User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Segher Boessenkool CC: gcc-patches@gcc.gnu.org, richard.sandiford@arm.com Subject: Re: Remove mode argument from gen_rtx_SET References: <87ioc4vct9.fsf@e105548-lin.cambridge.arm.com> <554C90BE.5080105@lauterbach.com> <20150508115747.GA11371@gate.crashing.org> In-Reply-To: <20150508115747.GA11371@gate.crashing.org> X-IsSubscribed: yes Am 2015-05-08 um 13:57 schrieb Segher Boessenkool: > On Fri, May 08, 2015 at 12:32:30PM +0200, Franz Sirl wrote: >> this patch (r222882 is fine, r222883 fails) breaks bootstrap for me on >> x86_64-linux-gnu: > > i386.md has "set:BND" twice; replace that with just "set", and all > should be fine. > > Maybe gen* should warn on this; maybe it already does. I didn't see a warning in the logs at least. But your suggestion fixes the bootstrap for me. Franz. Index: gcc/config/i386/i386.md =================================================================== --- gcc/config/i386/i386.md (revision 222909) +++ gcc/config/i386/i386.md (working copy) @@ -18879,7 +18879,7 @@ [(set_attr "type" "mpxchk")]) (define_expand "_ldx" - [(parallel [(set:BND (match_operand:BND 0 "register_operand") + [(parallel [(set (match_operand:BND 0 "register_operand") (unspec:BND [(mem: (match_par_dup 3 @@ -18909,7 +18909,7 @@ }) (define_insn "*_ldx" - [(parallel [(set:BND (match_operand:BND 0 "register_operand" "=w") + [(parallel [(set (match_operand:BND 0 "register_operand" "=w") (unspec:BND [(match_operator: 3 "bnd_mem_operator" [(unspec: