From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 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=1689767643; 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=yGrO+fk839BuNlQ3C2VmPjHlWzRxvYSAOCZTjT4qOdc=; b=CLsIhLzm5YHUm/YWqC9Ke6ZRqfbFzSBnE4jcDygm6Mj4W8A9txJpdjUZOm5I0fUjOOhXxc gcFnFlzIb+oCgQpy2g6gFeCChAqxZ+i8nOJLp+BYHNwGftvCrp+YvFEe/gzfcEtf6Ig7Jq 0nRokBk5/8t3oVvZerK8JHrPo3IGseo= 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 From: Jakub Jelinek To: gcc-patches@gcc.gnu.org Subject: [committed] tree-switch-conversion: Fix a comment typo Message-ID: Reply-To: Jakub Jelinek 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-Type: text/plain; charset=us-ascii 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 List-Id: 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. --- 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)) Jakub