From patchwork Sat Sep 30 09:39:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 146899 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2a8e:b0:403:3b70:6f57 with SMTP id in14csp289601vqb; Sat, 30 Sep 2023 02:41:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGPqCGpMRrKtPkqiotsP/9SDBZdKisYXKYtExcC9bUaK2WB2d4+Fq9P1JlXn8CPnhmKds3y X-Received: by 2002:aa7:d696:0:b0:532:c909:a06c with SMTP id d22-20020aa7d696000000b00532c909a06cmr5992300edr.18.1696066887761; Sat, 30 Sep 2023 02:41:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696066887; cv=none; d=google.com; s=arc-20160816; b=orHuCxAcFs1aTw2V7AijyCMwIkFFaQDf00UA8VJq9fXBQDhQ/ww4JqSBd6mQU0FpkC l+SnbqY9SS1XaC/henppprMtcZ/u+5u4V6EQmYGxmlR9G4F3RNXoxQaSXnmb2djBSCvU m6hA/hc0lVmDLkvkosCTR2ZYBp16DYo2GnQhaMW9qpVIDWZSNjdnzg8woFyMkaiUXkk5 oT8ytXj4T4HiJCI4tKj4qgXt++toSSjKY54cq0nwPiaoPBF0tOQAhRLlJIppC15LsRDj LJ7/xKaRIEJmYDmtWJUbNe1RgIw+5XYdMBPl6z6DHGWZrusM2XZmq6goj7S4XUG47gT7 gUpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:reply-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature :dmarc-filter:delivered-to; bh=od1COXuD/gKmW/DzjCADNdjoXHLsOoIZRp5zmxV9OQ8=; fh=hPrbWPhweUx4V0GV9uXJqbyAzg2ABmTz7kczrAQqMmM=; b=rBlFoaQewU/W7YYq/ceqN1NsJn0mFx1/ZGLuDtXyVYTarS9QmSrd2+7sYyZVaMbRaR qeocC3i4PVZj/Tr7x+AdMjuU/D5rcXmBunGruKonzzgk+jJ8SwuHGqe4WD7ipF+8j3Yk yFlg8c+2gJQFPYVao8GBU9SCBiIsStrfObVYi/5I5ar6ZNLGipbbnv8d0hkgLQ3x+Gt6 X5SOyASH8KxadqgPVFNUyWaEm20klec/kfJZn8i+whvZqxeaU3h0GOT7Mq2TTaC918Rx frHFCqOi8/6fC0zWFaFOokSYotFAXDXwK9GsbzaQF6lNTMct2pupDexITcJ8F5R59MPx A8qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UoSZE19j; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id i26-20020aa7dd1a000000b0053467ddd5c2si6754367edv.314.2023.09.30.02.41.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Sep 2023 02:41:27 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UoSZE19j; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 66E3638319D7 for ; Sat, 30 Sep 2023 09:41:25 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id E163A3831E1F for ; Sat, 30 Sep 2023 09:39:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E163A3831E1F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1696066762; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type; bh=od1COXuD/gKmW/DzjCADNdjoXHLsOoIZRp5zmxV9OQ8=; b=UoSZE19jNyOSmvKUX4Dyg/aJHDAF1yB5WkuLfNJtVPmGnR8OJRYU5FgP3x22Yb2Ol1iVTt ioDjfjKrX56Jikl8RVTM8K3PzYLBtcSyLbYmwmzo8dqTFW97Fm719CueF82UK+7G8kPeHo JtytmIX++95tBp14dcJVQn6rIexPRmM= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-207-zZSgybbBPSWLKb0sr5EV6Q-1; Sat, 30 Sep 2023 05:39:20 -0400 X-MC-Unique: zZSgybbBPSWLKb0sr5EV6Q-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id DCF5C8007A4 for ; Sat, 30 Sep 2023 09:39:19 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.193.202]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9E8A040C6EBF for ; Sat, 30 Sep 2023 09:39:19 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 38U9dHQT3514809 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Sat, 30 Sep 2023 11:39:17 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 38U9dHOA3514808 for gcc-patches@gcc.gnu.org; Sat, 30 Sep 2023 11:39:17 +0200 Date: Sat, 30 Sep 2023 11:39:16 +0200 From: Jakub Jelinek To: gcc-patches@gcc.gnu.org Subject: [committed] gimple-match-head: Fix a pasto in function comment Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP 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.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Jakub Jelinek Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778455033342155736 X-GMAIL-MSGID: 1778455033342155736 Hi! This function comment has been pasted from gimple_bitwise_equal_p and haven't been adjusted for different function name. Bootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk as obvious. 2023-09-30 Jakub Jelinek * gimple-match-head.cc (gimple_bitwise_inverted_equal_p): Fix a pasto in function comment. Jakub --- gcc/gimple-match-head.cc.jj 2023-08-11 09:27:36.292378545 +0200 +++ gcc/gimple-match-head.cc 2023-09-29 18:03:34.535495052 +0200 @@ -274,7 +274,7 @@ gimple_bitwise_equal_p (tree expr1, tree bool gimple_bit_not_with_nop (tree, tree *, tree (*) (tree)); bool gimple_maybe_cmp (tree, tree *, tree (*) (tree)); -/* Helper function for bitwise_equal_p macro. */ +/* Helper function for bitwise_inverted_equal_p macro. */ static inline bool gimple_bitwise_inverted_equal_p (tree expr1, tree expr2, bool &wascmp, tree (*valueize) (tree))