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 247103858D1E for ; Wed, 20 Mar 2024 09:38:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 247103858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 247103858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710927483; cv=none; b=NFVHKtBvhO+OHmuYVESYrEgdsILick7fGO3cOJZNcR+p5fpn68XlA4Lw0FdVNvmlhOV5kgjiqvzxHXZ7r6s7Ck1JYMQz84GsPFPtrnAZLCGDaRfVcrLMhY/fvVjP+4rb+3cHO1sURVBktWXzo6HjsrCdx/cxYYNWafT4LQGH3A8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710927483; c=relaxed/simple; bh=0ov0X1zROeRbODW31YJxu1WqohsBaRnxSnNc9gdNK9U=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=AP0slF7+FrErZShMW92W1xYRyqCzMp7ZWRl/53i19B6nx0wDbOIfZfnhaVS3CNscgUskdhsOVG/qZz5udUkjL8iplavi1Y389fs8EEnfLsGAwAWxh1QCP/Iko3MbXVGgWcr2nyyp27I2iwa93VfOcjQ85PuZWPcp5wqSQxryG0k= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1710927480; 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=Mcpww3usN5z40vL5ZRu0hOyC4omnyse2Um+mLopcdBc=; b=U4MBrqfK9SpekToOJylniAGtjl3OA+UU7nQ2v4JDqJ8qV5fM3bWCCLs0QtihdDwalyKxZO hxsKsXK+XJBkvyER6FYO4Yxu3MNv+kYdcrGHjObaVZp3v8ZaVnSV0n/cH/sPYRdQl6TncB wQqn66MPdkxP+TamE4m0qYRAI8QqPEI= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-115-a7YBriaFPJiVhgmFqHAheQ-1; Wed, 20 Mar 2024 05:37:59 -0400 X-MC-Unique: a7YBriaFPJiVhgmFqHAheQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 21CE21C3826F for ; Wed, 20 Mar 2024 09:37:59 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.57]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DAF0E111E406 for ; Wed, 20 Mar 2024 09:37:58 +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 42K9bqMu4109096 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Wed, 20 Mar 2024 10:37:52 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 42K9bqkW4109095 for gcc-patches@gcc.gnu.org; Wed, 20 Mar 2024 10:37:52 +0100 Date: Wed, 20 Mar 2024 10:37:51 +0100 From: Jakub Jelinek To: gcc-patches@gcc.gnu.org Subject: [committed] tree-ssa-loop-ch: Fix comment typos Message-ID: Reply-To: Jakub Jelinek MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.3 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.9 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! When looking at PR109596, I've noticed some comment typos. Bootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk as obvious. 2024-03-20 Jakub Jelinek * tree-ssa-loop-ch.cc (update_profile_after_ch): Fix comment typo: probabbility -> probability. (ch_base::copy_headers): Fix comment typo: itrations -> iterations. --- gcc/tree-ssa-loop-ch.cc.jj 2024-01-12 10:07:58.380849033 +0100 +++ gcc/tree-ssa-loop-ch.cc 2024-03-20 00:51:18.570544185 +0100 @@ -568,7 +568,7 @@ do_while_loop_p (class loop *loop) // region start loop_header: - if (cond1) <- we need to update probabbility here + if (cond1) <- we need to update probability here goto loop_exit; if (cond2) <- and determine scaling factor here. moreover cond2 is now always true @@ -1049,7 +1049,7 @@ ch_base::copy_headers (function *fun) fprintf (dump_file, "\n"); } - /* We possibly decreased number of itrations by 1. */ + /* We possibly decreased number of iterations by 1. */ auto_vec exits = get_loop_exit_edges (loop); bool precise = (nexits == (int) exits.length ()); /* Check that loop may not terminate in other way than via Jakub