From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by sourceware.org (Postfix) with ESMTPS id B835838207FC for ; Thu, 23 Jun 2022 03:01:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B835838207FC Received: by mail-pj1-x1034.google.com with SMTP id cv13so14892161pjb.4 for ; Wed, 22 Jun 2022 20:01:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MO4SJTIkum+O6ITwWhKzmFCPgWgYmHWsNPzNLrsDweY=; b=MnvgJpzlFYgrcAsTtMf1LWeGvmRWT4OhxMcPBnXglx7UxuH+RPyTtzVGpLBpuj6Sfq j4r+5hv7CoxTYYf6OhQsYLOfzv7cUEq6bI23RfVb8thd27W9ly3+Agq+ZeAu+JvWIvBv Be6LzjbOvhM4gJmbtETdSUzjMDf1zDo4ZbdFJY3UyRFOPCr8CONz2v72fzBZCz0fu8OD I9lMBmNzRHnnee7g9U2awCU8+NIMnk2gQOptOebpB9j+h1ptJxm8Rbye5K8UlYm8BWxT uhDxJT5w+aDFPLfZHNKpE7uO7r+an+te0LYq6xG3s/bcSGDs0plZsfT8r728qzid9bIq O8Yg== X-Gm-Message-State: AJIora/LBoB3ZME7jMc5cT9zALSHtrZKsUEnormuNV0DunVoyB6uf1op xlemXjp7yI+83rFQEMMPBAI/kX1zC0QzBFPlFTg= X-Google-Smtp-Source: AGRyM1sIFTdZV+CqKaDM+fldU6lMpk7Hdvb27AJRhnzB9ZL+LUViENBkHo92sf6RW9psuj4GbaWt2Q== X-Received: by 2002:a17:902:dac8:b0:16a:4bc2:ebc5 with SMTP id q8-20020a170902dac800b0016a4bc2ebc5mr5365648plx.19.1655953294470; Wed, 22 Jun 2022 20:01:34 -0700 (PDT) Received: from localhost ([43.132.141.4]) by smtp.gmail.com with ESMTPSA id d9-20020a621d09000000b0051c157f83e3sm6133425pfd.96.2022.06.22.20.01.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jun 2022 20:01:34 -0700 (PDT) From: Xionghu Luo X-Google-Original-From: Xionghu Luo To: gcc-patches@gcc.gnu.org Subject: [PATCH] Fix typo Date: Thu, 23 Jun 2022 11:01:08 +0800 Message-Id: <20220623030108.3616432-1-xionghuluo@tencent.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-10.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, 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-List-Received-Date: Thu, 23 Jun 2022 03:01:37 -0000 Fix typo and commit as obvious. Signed-off-by: Xionghu Luo gcc/ChangeLog: * cgraph.cc (cgraph_edge::redirect_call_stmt_to_callee): Fix typo. * tree-ssa-loop-ivopts.cc (struct iv_cand): Likewise. * tree-switch-conversion.h: Likewise. --- gcc/cgraph.cc | 2 +- gcc/tree-ssa-loop-ivopts.cc | 2 +- gcc/tree-switch-conversion.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/cgraph.cc b/gcc/cgraph.cc index 7eeda53ca84..8d6ed38efa2 100644 --- a/gcc/cgraph.cc +++ b/gcc/cgraph.cc @@ -1423,7 +1423,7 @@ cgraph_edge::redirect_call_stmt_to_callee (cgraph_edge *e) else { /* Be sure we redirect all speculative targets before poking - abou tindirect edge. */ + about indirect edge. */ gcc_checking_assert (e->callee); cgraph_edge *indirect = e->speculative_call_indirect_edge (); gcall *new_stmt; diff --git a/gcc/tree-ssa-loop-ivopts.cc b/gcc/tree-ssa-loop-ivopts.cc index 549168aebd6..a6f926a68ef 100644 --- a/gcc/tree-ssa-loop-ivopts.cc +++ b/gcc/tree-ssa-loop-ivopts.cc @@ -469,7 +469,7 @@ struct iv_cand bitmap inv_vars; /* The list of invariant ssa_vars used in step of the iv_cand. */ bitmap inv_exprs; /* If step is more complicated than a single ssa_var, - hanlde it as a new invariant expression which will + handle it as a new invariant expression which will be hoisted out of loop. */ struct iv *orig_iv; /* The original iv if this cand is added from biv with smaller type. */ diff --git a/gcc/tree-switch-conversion.h b/gcc/tree-switch-conversion.h index 2b677d9f7e9..4063a6c16a0 100644 --- a/gcc/tree-switch-conversion.h +++ b/gcc/tree-switch-conversion.h @@ -249,7 +249,7 @@ public: /* Concrete subclass of group_cluster representing a collection of cases to be implemented as a jump table. - The "emit" vfunc gernerates a nested switch statement which + The "emit" vfunc generates a nested switch statement which is later lowered to a jump table. */ class jump_table_cluster: public group_cluster -- 2.27.0