From patchwork Mon Sep 19 06:01:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jojo R X-Patchwork-Id: 1291 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5044:0:0:0:0:0 with SMTP id h4csp818927wrt; Sun, 18 Sep 2022 23:02:35 -0700 (PDT) X-Google-Smtp-Source: AMsMyM78j1H+516oqbV3kL3wpjsukaOfix+/9vDoiG5wtjGBcApmUK4kd+sHgRQV8XOP8f4JpM7X X-Received: by 2002:a05:6402:2751:b0:443:d90a:43d4 with SMTP id z17-20020a056402275100b00443d90a43d4mr14676804edd.368.1663567355353; Sun, 18 Sep 2022 23:02:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663567355; cv=none; d=google.com; s=arc-20160816; b=k0QnbQtz1GxYN+/fZm2f0O8SD5vRf8tzK7BLBSUjDAcod7gFnRmD7sVi3LdP+pExGb EKVLu5oDN32lXsRVWRV/3gwXLOgIicAtfOJk7JsyTnj2NMWk0htZTZ9ozaA1KjbffJzi zd6uu7DTT3gFf51O+oaUdmAR9ZFvwt89278eBYPEWdT/ExnoBtpzPyfklo9srOQrSF0l 2YGcFhQjJ/X8jA+OXzylw1XeXzIWS3aAdYsWnaGEsdK3UEMz81dLywoYmTRe8UIJthyv Wl2nQpWuRlk6Bma64RXs7g7lPeiDzvUF9SlRoc7ufMSl1QoHBqdkwmkTkQNhOBdUy2ZZ 919w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:to :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=EKdKilQQbSIGclOIjOEktlDADyV7zCPk9MxeNocY5N8=; b=T5fXvWq6QFV1e4REYY4yq0aU6fbSWbo03XIdnE0EfDh1Eisc46JmQz0r6czMzu4DSu AWGR98BwhXqVRmZW18ZBgKTbKANXQLYP7ZWuHPlvqPlmB4l7vdMGkZDNz1irsX9XE+Em 4IeogybwUVka9k5AJ6q/WoGs4pQUUwlWr5udGWxkD0RePgemx8y/vR51MfBfpNwBhtBI VnF/dITrbfBXzdSUTD8CcP8IVmX7jR7pVoLwYD37oUQGIjT+ueVyTK/tQ3C1Pfin3WD9 V9CF2GoAQ6wXQ3T7Jf5ghdGCFXhkuY+eiFu/6+PU+HecTDj60g86Mr25J+75GeX0QxWl uxMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=qlA1R5EW; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id e15-20020a50ec8f000000b00450d093ab88si8095937edr.442.2022.09.18.23.02.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Sep 2022 23:02:35 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=qlA1R5EW; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4F1B43858291 for ; Mon, 19 Sep 2022 06:02:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4F1B43858291 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663567354; bh=EKdKilQQbSIGclOIjOEktlDADyV7zCPk9MxeNocY5N8=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=qlA1R5EWZwfsC39j9FyYIa3BWGUfG2SNkB52kphcLvQ84mFi8NqAWfx2HaBTUJWqw ZQPxRqZJAARtCPc6ed9kUwtcwmXRkOBT9FZ/XOsNwh/IcOGFhDQ5JaAC2BuJ8RxWRs W/Xb+6/IFFORcgzUQ1GJ8OINKZax57GkwP3dYIxg= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from out30-57.freemail.mail.aliyun.com (out30-57.freemail.mail.aliyun.com [115.124.30.57]) by sourceware.org (Postfix) with ESMTPS id 905273858D32 for ; Mon, 19 Sep 2022 06:01:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 905273858D32 X-Alimail-AntiSpam: AC=PASS; BC=-1|-1; BR=01201311R981e4; CH=green; DM=||false|; DS=||; FP=0|-1|-1|-1|0|-1|-1|-1; HT=ay29a033018046059; MF=rjiejie@linux.alibaba.com; NM=1; PH=DS; RN=2; SR=0; TI=SMTPD_---0VQ6gpp9_1663567302; Received: from localhost(mailfrom:rjiejie@linux.alibaba.com fp:SMTPD_---0VQ6gpp9_1663567302) by smtp.aliyun-inc.com; Mon, 19 Sep 2022 14:01:43 +0800 To: rjiejie@linux.alibaba.com, gcc-patches@gcc.gnu.org Subject: [PATCH] genrecog.cc (print_nonbool_test): Fix type error of SUBREG_BYTE Date: Mon, 19 Sep 2022 14:01:41 +0800 Message-Id: <20220919060141.5014-1-rjiejie@linux.alibaba.com> X-Mailer: git-send-email 2.24.3 (Apple Git-128) MIME-Version: 1.0 X-Spam-Status: No, score=-19.1 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH, GIT_PATCH_0, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, UNPARSEABLE_RELAY, USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jojo R via Gcc-patches From: Jojo R Reply-To: Jojo R Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1744376802977014627?= X-GMAIL-MSGID: =?utf-8?q?1744376802977014627?= * gcc/genrecog.cc (print_nonbool_test): Fix type error of SUBREG_BYTE --- gcc/genrecog.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/genrecog.cc b/gcc/genrecog.cc index 77f8fb97853..319e437e334 100644 --- a/gcc/genrecog.cc +++ b/gcc/genrecog.cc @@ -4619,6 +4619,7 @@ print_nonbool_test (output_state *os, const rtx_test &test) printf ("SUBREG_BYTE ("); print_test_rtx (os, test); printf (")"); + printf (".to_constant ()"); break; case rtx_test::WIDE_INT_FIELD: