From patchwork Wed Jul 19 11:53:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 122574 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp2379610vqt; Wed, 19 Jul 2023 04:54:49 -0700 (PDT) X-Google-Smtp-Source: APBJJlFFMm3SkWHaBo4X+4Ap/ZBsytn8EnWdSph26JNOrXtbFV4LctWXzzL1Mtha/aPN3y17c/te X-Received: by 2002:a17:906:30cd:b0:992:462d:e2af with SMTP id b13-20020a17090630cd00b00992462de2afmr2162311ejb.75.1689767688831; Wed, 19 Jul 2023 04:54:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689767688; cv=none; d=google.com; s=arc-20160816; b=jMmGxVxNfgPSUUV6bIJPi+mVhz+Rq7uhC91CzDi5rfSs8v6QwbPiTBGtmfJzUUZV2K eZ3QBrBqSfYJNmLWeQaYasjbGnDACSzTWf4rb2B7UVDDqB+NCBdJ/TF+Ppl3cGgYt383 8/KvMDuQt8nDlRFWd6CbNg0qFowL9/gJ7hL9cTkWHsa9VHFkdeOYBhikM6Ly79ViyjhD Dcltc0ZqUhQXxAOjP3jTAVgH85/n0+0otKooGGK0AgpPJwOvu1MfA7EgdF87IiLHQ1Gm b+FxOqywj8tGfzhdYr9mZJIvQme3b+Ajt2AUcixMGuvjbQzkzKdZRED0B2Ku2b2uosXF oOcQ== 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-disposition:mime-version:message-id:subject:to:date :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=yGrO+fk839BuNlQ3C2VmPjHlWzRxvYSAOCZTjT4qOdc=; fh=C7H+RgIs8jNy5/l6db4DMh1t/2WPVBMg4bqGNCqhXL8=; b=ugzwN/YG9yA59GcoxPQ1WbK/BaURL4dCMJLyClPvwRZIwjjGpuW/SV4700huChwbVJ zBRRZrmGvFGVay+3mUne73FMqeftTtR+/IJZZzTnArXJ4jciBGgUXQ9Da/Iq/Wi4cMSU wKVN1evJEWESpQiOYOzYdRYbOqNOcay4fxLzt/8ESyvlVKGWsItz9fann6fW/yIjNOCW TNk7h4PHTMbWxieyTX5Kg7RPIGI+sN1hy8LfQtumt/FGKLj+IQUd9Pqy1uWbTlZhMCus 4u3KnmA25hQJmka9g2fcncYLg/P8trrzaANLwEToP0Bs1n9/o7XhI/pYWZQfOYzS5lqv ktng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=nJBG6m9b; 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 (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id z22-20020a17090665d600b0098ce5bd2ed0si2723134ejn.257.2023.07.19.04.54.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jul 2023 04:54:48 -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=nJBG6m9b; 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 95FD53857C41 for ; Wed, 19 Jul 2023 11:54:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 95FD53857C41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689767687; bh=yGrO+fk839BuNlQ3C2VmPjHlWzRxvYSAOCZTjT4qOdc=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=nJBG6m9bUi3+PSxKJqBz50L1B1qTnpZ0HbZCKKu+nQBMX7Hu0EFvvTGxWMqHkNKYi i/HvH6zs0xKK9LWJ0a8rHrTIm44sfBJowKfRfcHsB2HuLtyFWjPPXNmkVCHdloguZq ePfYnlfCEEq7eWF8xTdZj9w0ZhMcJ1MphSkuKwiQ= 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 8C7183858C66 for ; Wed, 19 Jul 2023 11:54:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8C7183858C66 Received: from mimecast-mx02.redhat.com (66.187.233.73 [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-49-SMloZe72Nwab_NVgLRLkmg-1; Wed, 19 Jul 2023 07:54:02 -0400 X-MC-Unique: SMloZe72Nwab_NVgLRLkmg-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 5A9E328EA6E3 for ; Wed, 19 Jul 2023 11:54:02 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.45.226.176]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 201214CD0F5 for ; Wed, 19 Jul 2023 11:54:02 +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 36JBrxDs2595920 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Wed, 19 Jul 2023 13:54:00 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 36JBrxP62595919 for gcc-patches@gcc.gnu.org; Wed, 19 Jul 2023 13:53:59 +0200 Date: Wed, 19 Jul 2023 13:53:59 +0200 To: gcc-patches@gcc.gnu.org Subject: [committed] tree-switch-conversion: Fix a comment typo Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-3.7 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, T_SCC_BODY_TEXT_LINE 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: Jakub Jelinek via Gcc-patches From: Jakub Jelinek Reply-To: Jakub Jelinek Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771849843994798467 X-GMAIL-MSGID: 1771849843994798467 Hi! I've noticed a comment typo, this patch fixes that. Bootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk as obvious. 2023-07-19 Jakub Jelinek * tree-switch-conversion.h (class bit_test_cluster): Fix comment typo. Jakub --- gcc/tree-switch-conversion.h.jj 2023-02-17 12:45:08.218636117 +0100 +++ gcc/tree-switch-conversion.h 2023-07-18 10:10:21.398933379 +0200 @@ -303,7 +303,7 @@ public: /* A GIMPLE switch statement can be expanded to a short sequence of bit-wise comparisons. "switch(x)" is converted into "if ((1 << (x-MINVAL)) & CST)" where CST and MINVAL are integer constants. This is better than a series -of compare-and-banch insns in some cases, e.g. we can implement: +of compare-and-branch insns in some cases, e.g. we can implement: if ((x==4) || (x==6) || (x==9) || (x==11))