From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ln01.mxout.alfaservers.com (ln01.mxout.alfaservers.com [85.17.185.57]) by sourceware.org (Postfix) with ESMTPS id 2811E3851C25 for ; Tue, 20 Oct 2020 15:00:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2811E3851C25 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=blueice.be Authentication-Results: sourceware.org; spf=none smtp.mailfrom=henri.cloetens@blueice.be Received: from [193.121.150.145] (port=39420 helo=[192.168.178.60]) by ln01.alfaservers.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1kUt7W-00012B-4z; Tue, 20 Oct 2020 17:00:14 +0200 Subject: Re: Issue during combine. To: Richard Earnshaw , gcc-help References: From: Henri Cloetens Message-ID: Date: Tue, 20 Oct 2020 17:01:24 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-MW X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ln01.alfaservers.com X-AntiAbuse: Original Domain - gcc.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - blueice.be X-Get-Message-Sender-Via: ln01.alfaservers.com: authenticated_id: henri.cloetens@blueice.be X-Authenticated-Sender: ln01.alfaservers.com: henri.cloetens@blueice.be X-Source: X-Source-Args: X-Source-Dir: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00, BODY_8BITS, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Oct 2020 15:00:16 -0000 Hello Richard, all, Well, I guess there is the confusion. - For me, this is a constant int. - For gcc, apparently not. Anyway, I changed the mode, and now it works. Many thanks, Best Regards, Henri. On 10/20/2020 03:19 PM, Richard Earnshaw wrote: > On 19/10/2020 13:53, Henri Cloetens wrote: >> Hello all, >> >> I am building a gcc 9.2.0 custom compiler, and I am running in an issue >> during step 263, combine. >> >> Before combine: >> >> /(insn 2354 2352 1743 175 (set (reg/v:SI 197 [ dig ])// >> //        (if_then_else (eq (subreg:QI (reg:SI 632) 1)// > Your problem is likely here, on the input. The SET_SRC (the > if_then_else) of the pattern should have the same mode as the SET_DEST, > unless the SET_SRC is a CONST_INT. > >