Hi!

I'd like to commit the following patch (bootstrapped/regtested on
x86_64-linux and i686-linux) as obvious, but if there is something
you disagree with or find some other typo next to it, please let
me know.

There is one issue I haven't touched in auto-profile.cc,
                fprintf (dump_file,
                         "  Annotating edge %i->%i with count 0;"
                         " static profile aggress",
                         e->src->index, e->dest->index);
Not sure if the last word should be agrees or something completely
different.

2025-12-11  Jakub Jelinek  <[email protected]>

gcc/
        * config/arc/arc.cc (hwloop_optimize): Fix comment typo,
        begining -> beginning.
        * config/nds32/nds32-utils.cc (nds32::extract_pattern_from_insn):
        Fix comment typo, funciton -> function.
        * ipa-inline.cc (speculation_useful_p): Fix comment typo,
        calll -> call.
        * auto-profile.cc: Fix comment typos, implements -> implement,
        inlning -> inlining, passe -> passes, form -> from, ambigous
        -> ambiguous.
        (afdo_hot_bb_threshod): Rename to ...
        (afdo_hot_bb_threshold): ... this.
        (maybe_hot_afdo_count_p): Adjust for the above change.
        (function_instance::merge): Fix comment typo, hasnt -> hasn't.
        (function_instance::offline_if_not_realized): Fix comment typo,
        instancs -> instances.
        (afdo_count_scale): Fix comment typo, reudce -> reduce.
        (get_original_name): Fix comment typos, generetad -> generated,
        sufix -> suffix.
        (function_instance::get_function_instance): Fix dump message
        typo, insteed -> instead.
        (function_instance::merge): Fix comment typos, hasnt -> hasn't,
        acounting -> accounting, calll -> call, begining -> beginning.
        (function_instance::offline_if_in_set): Fix comment typo,
        begining -> beginning.
        (match_with_target): Fix comment typo, correspons -> corresponds.
        (function_instance::match): Fix diagnostic typo, discrimnator
        -> discriminator.
        (autofdo_source_profile::offline_external_functions): Fix comment
        typos, Doint -> Doing, distingush -> distinguish, shold -> should,
        Poppulate -> Populate.  Fix dump message typo, suffxes -> suffixes.
        (autofdo_source_profile::offline_unrealized_inlines): Fix comment
        typo, Poppulate -> Populate.
        (autofdo_source_profile::update_inlined_ind_target): Fix dump message
        typo, funciton -> function.
        (autofdo_source_profile::read): Fix comment typos, function_instace
        -> function_instance, exixts -> exits.  Use afdo_hot_bb_threshold
        instead of afdo_hot_bb_threshod.
        (autofdo_source_profile::get_function_instance_by_inline_stack):
        Fix dump message typo, locaction -> location.
        (afdo_propagate_edge): Fix dump message typo, succesors -> successors.
        (afdo_propagate): Fix comment typo, stablize -> stabilize.
        (struct scale): Fix comment typo, descired -> desired.
        (afdo_adjust_guessed_profile): Fix dump message typos, predecesor
        -> predecessor, sucessor -> successor.  Fix comment typo, inprecise
        -> imprecise.
        (auto_profile): Fix comment typo, annoate -> annotate.
        * tree-vect-slp.cc (vectorizable_slp_permutation_1): Fix comment typo,
        cylical -> cyclical.
        * except.cc (maybe_add_nop_after_section_switch): Fix comment typo,
        begining -> beginning.
        * tree-ssa-loop-ivcanon.cc (tree_unroll_loops_completely): Fix comment
        typo, begining -> beginning.
        * gcc.cc (insert_comments): Likewise.
gcc/cobol/
        * util.cc (class temp_loc_t): Fix comment typo, paramters
        -> parameters.
        * lexio.cc (valid_sequence_area): Fix comment typo, begining
        -> beginning.
gcc/m2/
        * gm2-compiler/M2Check.mod (buildError4): Fix comment typo,
        paramters -> parameters.
gcc/d/
        * dmd/astenums.d: Fix comment typo, ambigous -> ambiguous.
gcc/fortran/
        * trans-expr.cc (gfc_conv_procedure_call): Fix comment typo, passe
        -> pass.
gcc/jit/
        * docs/_build/texinfo/libgccjit.texi: Fix comment typo, shold -> should.
        * docs/internals/index.rst: Likewise.
gcc/rust/
        * backend/rust-tree.cc (fold_builtin_source_location): Fix string 
literal
        typo, funciton -> function.
        * resolve/rust-late-name-resolver-2.0.cc (Late::visit): Fix comment 
typo,
        begining -> beginning.
gcc/testsuite/
        * gfortran.dg/interface_16.f90: Fix comment typo,calll -> call.

--- gcc/config/arc/arc.cc.jj    2025-11-07 10:35:06.909575489 +0100
+++ gcc/config/arc/arc.cc       2025-12-10 21:42:22.955034811 +0100
@@ -8278,7 +8278,7 @@ hwloop_optimize (hwloop_info loop)
   /* Insert the loop end label before the last instruction of the
      loop.  */
   emit_label_after (end_label, loop->last_insn);
-  /* Make sure we mark the begining and end label as used.  */
+  /* Make sure we mark the beginning and end label as used.  */
   LABEL_NUSES (loop->end_label)++;
   LABEL_NUSES (loop->start_label)++;
 
--- gcc/config/nds32/nds32-utils.cc.jj  2025-04-08 14:08:49.711303304 +0200
+++ gcc/config/nds32/nds32-utils.cc     2025-12-10 21:42:22.964034656 +0100
@@ -41,7 +41,7 @@
 namespace nds32 {
 
 /* Get the rtx in the PATTERN field of an insn.  If INSN is not an insn,
-   the funciton doesn't change anything and returns it directly.  */
+   the function doesn't change anything and returns it directly.  */
 rtx
 extract_pattern_from_insn (rtx insn)
 {
--- gcc/testsuite/gfortran.dg/interface_16.f90.jj       2020-01-12 
11:54:38.254385633 +0100
+++ gcc/testsuite/gfortran.dg/interface_16.f90  2025-12-10 21:42:23.122031950 
+0100
@@ -1,7 +1,7 @@
 ! { dg-do compile }
 ! This tests the fix for PR32634, in which the generic interface
 ! in foo_pr_mod was given the original rather than the local name.
-! This meant that the original name had to be used in the calll
+! This meant that the original name had to be used in the call
 ! in foo_sub.
 !
 ! Contributed by Salvatore Filippone <[email protected]>
--- gcc/cobol/util.cc.jj        2025-12-02 10:35:17.224703218 +0100
+++ gcc/cobol/util.cc   2025-12-10 21:42:22.914035513 +0100
@@ -2288,7 +2288,7 @@ class temp_loc_t {
  * this is where we are.
  *
  * Because we can't reliably instantiate it as a forward-declared template
- * function, and because the paramters are variadic, we can't use a template
+ * function, and because the parameters are variadic, we can't use a template
  * function or call one.  So, a macro.
  */
 
--- gcc/cobol/lexio.cc.jj       2025-12-02 10:35:17.177704030 +0100
+++ gcc/cobol/lexio.cc  2025-12-10 21:42:22.848036643 +0100
@@ -1682,9 +1682,9 @@ cdftext::map_file( int fd ) {
 bool lexio_dialect_mf();
 
 /*
- * A valid sequence area is 6 digits or blanks at the begining of the line that
- * contains PROGRAM-ID. Return NULL if no valid sequence area, else return
- * pointer to BOL.
+ * A valid sequence area is 6 digits or blanks at the beginning of the line
+ * that contains PROGRAM-ID. Return NULL if no valid sequence area, else
+ * return pointer to BOL.
  */
 static const char *
 valid_sequence_area( const char *data, const char *eodata ) {
--- gcc/ipa-inline.cc.jj        2025-12-04 10:56:24.028342605 +0100
+++ gcc/ipa-inline.cc   2025-12-10 21:42:23.023254341 +0100
@@ -1971,7 +1971,7 @@ speculation_useful_p (struct cgraph_edge
 
   gcc_assert (e->speculative && !e->indirect_unknown_callee);
 
-  /* Even if calll statement is not hot, we can still have useful speculation
+  /* Even if call statement is not hot, we can still have useful speculation
      in cases where a lot of time is spent is callee.
      Do not check maybe_hot_p.  */
   if (!e->count.nonzero_p ())
--- gcc/m2/gm2-compiler/M2Check.mod.jj  2025-09-23 10:26:43.032777982 +0200
+++ gcc/m2/gm2-compiler/M2Check.mod     2025-12-10 21:42:23.102032293 +0100
@@ -615,7 +615,7 @@ BEGIN
          (* We need to create top level error message first.  *)
          tinfo^.error := NewError (tinfo^.token) ;
          (* The parameters to MetaString4 in buildError4 must match the order
-            of paramters passed to ParameterTypeCompatible.  *)
+            of parameters passed to ParameterTypeCompatible.  *)
          s := MetaString4 (tinfo^.format,
                            tinfo^.procedure,
                            tinfo^.formal, tinfo^.actual,
--- gcc/auto-profile.cc.jj      2025-10-21 11:27:04.719885289 +0200
+++ gcc/auto-profile.cc 2025-12-10 21:42:22.433766605 +0100
@@ -55,7 +55,7 @@ along with GCC; see the file COPYING3.
 #include "gimple-pretty-print.h"
 #include "output.h"
 
-/* The following routines implements AutoFDO optimization.
+/* The following routines implement AutoFDO optimization.
 
    This optimization uses sampling profiles to annotate basic block counts
    and uses heuristics to estimate branch probabilities.
@@ -87,7 +87,7 @@ along with GCC; see the file COPYING3.
    Phase 3: During early optimization.
      AFDO inline + value profile transformation.
      This happens during early optimization.
-     During early inlning AFDO inliner is executed which
+     During early inlining AFDO inliner is executed which
      uses autofdo_source_profile to find if a callsite is:
         * inlined in the profiled binary.
         * callee body is hot in the profiling run.
@@ -95,9 +95,9 @@ along with GCC; see the file COPYING3.
      regardless of the code growth.
 
      Performing this early has benefit of doing early optimizations
-     before read IPA passe and getting more "context sensitivity" of
+     before read IPA passes and getting more "context sensitivity" of
      the profile read.  Profile of inlined functions may differ
-     significantly form one inline instance to another and from the
+     significantly from one inline instance to another and from the
      offline version.
 
      This is controlled by -fauto-profile-inlining and is independent
@@ -113,7 +113,7 @@ along with GCC; see the file COPYING3.
         * Annotate basic block count
         * Estimate branch probability
        * Use earlier static profile to fill in the gaps
-         if AFDO profile is ambigous
+         if AFDO profile is ambiguous
 
    After the above 5 phases, all profile is readily annotated on the GCC IR.
    AutoFDO tries to reuse all FDO infrastructure as much as possible to make
@@ -126,14 +126,14 @@ along with GCC; see the file COPYING3.
 
 /* profile counts determined by AFDO smaller than afdo_hot_bb_threshold are
    considered cols.  */
-gcov_type afdo_hot_bb_threshod = -1;
+gcov_type afdo_hot_bb_threshold = -1;
 
 /* Return true if COUNT is possibly hot.  */
 bool
 maybe_hot_afdo_count_p (profile_count count)
 {
   gcc_checking_assert (count.ipa ().initialized_p ());
-  return count.ipa ().to_gcov_type () >= afdo_hot_bb_threshod;
+  return count.ipa ().to_gcov_type () >= afdo_hot_bb_threshold;
 }
 
 /* Return true if location of STMT may be expressed by debug info.  */
@@ -319,12 +319,12 @@ public:
                                                    tree decl,
                                                    location_t location) const;
 
-  /* Merge profile of clones.  Note that cloning hasnt been performed when
+  /* Merge profile of clones.  Note that cloning hasn't been performed when
      we annotate the CFG (at this stage).  */
   void merge (function_instance *other,
              vec <function_instance *> &new_functions);
 
-  /* Look for inline instancs that was not realized and
+  /* Look for inline instances that was not realized and
      remove them while possibly merging them to offline variants.  */
   void offline_if_not_realized (vec <function_instance *> &new_functions);
 
@@ -603,7 +603,7 @@ static gcov_summary *afdo_profile_info;
 
 /* Scaling factor for afdo data.  Compared to normal profile
    AFDO profile counts are much lower, depending on sampling
-   frequency.  We scale data up to reudce effects of roundoff
+   frequency.  We scale data up to reduce effects of roundoff
    errors.  */
 
 static gcov_type afdo_count_scale = 1;
@@ -612,9 +612,9 @@ static gcov_type afdo_count_scale = 1;
 
 
 /* Return the original name of NAME: strip the suffix that starts
-   with '.' for names that are generetad after auto-profile pass.
+   with '.' for names that are generated after auto-profile pass.
    This is to match profiled names with the names in the IR at this stage.
-   Note that we only have to strip sufix and not in the middle.
+   Note that we only have to strip suffix and not in the middle.
    Caller is responsible for freeing RET.  */
 
 static char *
@@ -973,7 +973,7 @@ function_instance::get_function_instance
          dump_printf_loc (MSG_NOTE | MSG_PRIORITY_INTERNALS,
                           dump_user_location_t::from_location_t (location),
                           "auto-profile has mismatched function name %s"
-                          " insteed of %s at loc %i:%i",
+                          " instead of %s at loc %i:%i",
                           afdo_string_table->get_name (iter.first.second),
                           raw_symbol_name (decl),
                           lineno >> 16,
@@ -983,8 +983,8 @@ function_instance::get_function_instance
   return NULL;
 }
 
-/* Merge profile of OTHER to THIS.  Note that cloning hasnt been performed when
-   we annotate the CFG (at this stage).  */
+/* Merge profile of OTHER to THIS.  Note that cloning hasn't been performed
+   when we annotate the CFG (at this stage).  */
 
 void
 function_instance::merge (function_instance *other,
@@ -1017,8 +1017,8 @@ function_instance::merge (function_insta
                f->dump_inline_stack (dump_file);
                fprintf (dump_file, "\n");
              }
-           /* We already merged outer part of the function acounting
-              the inlined calll; compensate.  */
+           /* We already merged outer part of the function accounting
+              the inlined call; compensate.  */
            for (function_instance *s = this; s; s = s->inlined_to ())
              {
                s->total_count_ -= f->total_count ();
@@ -1026,7 +1026,7 @@ function_instance::merge (function_insta
              }
            other->callsites.erase (iter);
            function_instance::offline (f, new_functions);
-           /* Start from begining as merging might have offlined
+           /* Start from beginning as merging might have offlined
               some functions in the case of recursive inlining.  */
            iter = other->callsites.begin ();
          }
@@ -1164,7 +1164,7 @@ function_instance::offline_if_in_set (na
          }
        iter = callsites.erase (iter);
        function_instance::offline (f, new_functions);
-       /* Start from begining as merging might have offlined
+       /* Start from beginning as merging might have offlined
           some functions in the case of recursive inlining.  */
        iter = callsites.begin ();
       }
@@ -1176,7 +1176,7 @@ function_instance::offline_if_in_set (na
 }
 
 /* Try to check if inlined_fn can correspond to a call of function N.
-   Return non-zero if it correspons and 2 if renaming was done.  */
+   Return non-zero if it corresponds and 2 if renaming was done.  */
 
 static int
 match_with_target (cgraph_node *n,
@@ -1554,7 +1554,7 @@ function_instance::match (cgraph_node *n
                          if (warning (OPT_Wauto_profile,
                                       "function contains two calls of the same"
                                       " relative location +%i,"
-                                      " discrimnator %i,"
+                                      " discriminator %i,"
                                       " that leads to lost auto-profile",
                                       loc >> 16,
                                       loc & 65535))
@@ -1980,7 +1980,7 @@ function_instance::remove_icall_target (
 
 /* Offline all functions not defined in the current unit.
    We will not be able to early inline them.
-   Doint so early will get VPT decisions more realistic.  */
+   Doing so early will get VPT decisions more realistic.  */
 
 void
 autofdo_source_profile::offline_external_functions ()
@@ -2002,7 +2002,7 @@ autofdo_source_profile::offline_external
        {
          free (n2);
          /* Watch for duplicate entries.
-            This seems to happen in practice and may be useful to distingush
+            This seems to happen in practice and may be useful to distinguish
             multiple static symbols of the same name, but we do not realy
             have a way to differentiate them in get_name lookup.  */
          int index = afdo_string_table->get_index (n1);
@@ -2017,7 +2017,7 @@ autofdo_source_profile::offline_external
          continue;
        }
       if (dump_file)
-       fprintf (dump_file, "Adding rename removing clone suffxes %s -> %s\n",
+       fprintf (dump_file, "Adding rename removing clone suffixes %s -> %s\n",
                 n1, n2);
       int index = afdo_string_table->get_index (n2);
       if (index != -1)
@@ -2084,7 +2084,7 @@ autofdo_source_profile::offline_external
   for (auto iter : to_symbol_name)
     {
       /* In case dwarf name was duplicated and later renamed,
-        handle both.  No more than one hop shold be needed.  */
+        handle both.  No more than one hop should be needed.  */
       int *newn = to_symbol_name.get (iter.second);
       if (newn)
        iter.second = *newn;
@@ -2107,7 +2107,7 @@ autofdo_source_profile::offline_external
      that were not inlined.  */
   vec <function_instance *>&fns = duplicate_functions_;
   auto_vec <function_instance *, 20>fns2;
-  /* Poppulate worklist with all functions to process.  Processing
+  /* Populate worklist with all functions to process.  Processing
      may introduce new functions by offlining.  */
   for (auto const &iter : map_)
     {
@@ -2257,7 +2257,7 @@ void
 autofdo_source_profile::offline_unrealized_inlines ()
 {
   auto_vec <function_instance *>fns;
-  /* Poppulate worklist with all functions to process.  Processing
+  /* Populate worklist with all functions to process.  Processing
      may introduce new functions by offlining.  */
   for (auto const &iter : map_)
     {
@@ -2477,7 +2477,7 @@ autofdo_source_profile::update_inlined_i
   if (LOCATION_LOCUS (gimple_location (stmt)) == cfun->function_end_locus)
     {
       if (dump_file)
-       fprintf (dump_file, " bad locus (funciton end)\n");
+       fprintf (dump_file, " bad locus (function end)\n");
       return false;
     }
 
@@ -2635,8 +2635,8 @@ autofdo_source_profile::read ()
       function_instance *s = function_instance::read_function_instance (
           &stack, gcov_read_counter ());
       int fun_id = s->name ();
-      /* If function_instace with get_original_name (without the clone
-        suffix) exixts, merge the function instances.  */
+      /* If function_instance with get_original_name (without the clone
+        suffix) exits, merge the function instances.  */
       if (map_.count (fun_id) == 0)
        map_[fun_id] = s;
       else
@@ -2652,11 +2652,11 @@ autofdo_source_profile::read ()
       = MAX (((gcov_type)1 << (profile_count::n_bits - 10))
             / afdo_profile_info->sum_max, 1);
   afdo_profile_info->cutoff *= afdo_count_scale;
-  afdo_hot_bb_threshod
+  afdo_hot_bb_threshold
     = hot_frac
       ? afdo_profile_info->sum_max * afdo_count_scale / hot_frac
       : (gcov_type)profile_count::max_count;
-  set_hot_bb_threshold (afdo_hot_bb_threshod);
+  set_hot_bb_threshold (afdo_hot_bb_threshold);
   if (dump_file)
     fprintf (dump_file, "Max count in profile %" PRIu64 "\n"
                        "Setting scale %" PRIu64 "\n"
@@ -2667,7 +2667,7 @@ autofdo_source_profile::read ()
             (int64_t)afdo_count_scale,
             (int64_t)(afdo_profile_info->sum_max * afdo_count_scale),
             (int64_t)afdo_profile_info->cutoff,
-            (int64_t)afdo_hot_bb_threshod);
+            (int64_t)afdo_hot_bb_threshold);
   afdo_profile_info->sum_max *= afdo_count_scale;
   return true;
 }
@@ -2706,7 +2706,7 @@ autofdo_source_profile::get_function_ins
                               (stack[i].location),
                              "auto-profile has no inlined function instance "
                              "for inlined call of %s at relative "
-                             " locaction +%i, discriminator %i\n",
+                             " location +%i, discriminator %i\n",
                             raw_symbol_name (stack[i - 1].decl),
                             stack[i].afdo_loc >> 16,
                             stack[i].afdo_loc & 65535);
@@ -3187,7 +3187,7 @@ afdo_propagate_edge (bool is_succ, bb_se
                 "unknown edges %i, known count ",
                 bb->index,
                 is_bb_annotated (bb, *annotated_bb) ? "(annotated)" : "",
-                is_succ ? "succesors" : "predecessors", num_edges,
+                is_succ ? "successors" : "predecessors", num_edges,
                 num_unknown_edges);
        total_known_count.dump (dump_file);
        fprintf (dump_file, " bb count ");
@@ -3396,7 +3396,7 @@ afdo_propagate_circuit (const bb_set &an
 }
 
 /* Propagate the basic block count and edge count on the control flow
-   graph. We do the propagation iteratively until stablize.  */
+   graph.  We do the propagation iteratively until stabilize.  */
 
 static void
 afdo_propagate (bb_set *annotated_bb)
@@ -3453,7 +3453,7 @@ cmp (const void *a, const void *b)
 
 struct scale
 {
-  /* Scale descired.  */
+  /* Scale desired.  */
   sreal scale;
   /* Weight for averaging computed from execution count of the edge
      scale originates from.  */
@@ -3739,7 +3739,7 @@ afdo_adjust_guessed_profile (bb_set *ann
                 boundary = true;
                 if (dump_file)
                   {
-                    fprintf (dump_file, "    Annotated predecesor %i "
+                    fprintf (dump_file, "    Annotated predecessor %i "
                              "with count ", e->src->index);
                     e->src->count.dump (dump_file);
                     fprintf (dump_file, " edge count using static profile ");
@@ -3791,7 +3791,7 @@ afdo_adjust_guessed_profile (bb_set *ann
                   continue;
                 if (dump_file)
                   fprintf (dump_file,
-                           "    edge %i->%i has annotated sucessor; count ",
+                           "    edge %i->%i has annotated successor; count ",
                            b->index, e->dest->index);
                 add_scale (&scales, annotated_count, e->count ());
               }
@@ -3800,7 +3800,7 @@ afdo_adjust_guessed_profile (bb_set *ann
 
        /* If we failed to find annotated entry or exit edge,
          look for exit edges and scale profile so the dest
-         BB get all flow it needs.  This is inprecise because
+         BB get all flow it needs.  This is imprecise because
          the edge is not annotated and thus BB has more than
          one such predecessor.  */
        if (!scales.length ())
@@ -3815,7 +3815,7 @@ afdo_adjust_guessed_profile (bb_set *ann
                       annotated_count -= AFDO_EINFO (e2)->get_count ();
                   if (dump_file)
                     fprintf (dump_file,
-                             "    edge %i->%i has annotated sucessor;"
+                             "    edge %i->%i has annotated successor;"
                              " upper bound count ",
                              b->index, e->dest->index);
                   add_scale (&scales, annotated_count, e->count ());
@@ -4138,7 +4138,7 @@ afdo_annotate_cfg (void)
   free_dominance_info (CDI_POST_DOMINATORS);
 }
 
-/* Use AutoFDO profile to annoate the control flow graph.
+/* Use AutoFDO profile to annotate the control flow graph.
    Return the todo flag.  */
 
 static unsigned int
--- gcc/tree-vect-slp.cc.jj     2025-12-05 20:03:09.891705997 +0100
+++ gcc/tree-vect-slp.cc        2025-12-10 21:42:51.457546739 +0100
@@ -11548,7 +11548,7 @@ vectorizable_slp_permutation_1 (vec_info
       return 0;
     }
 
-  /* Set REPEATING_P to true if the permutations are cylical wrt UNPACK_FACTOR
+  /* Set REPEATING_P to true if the permutations are cyclical wrt UNPACK_FACTOR
      and if we can generate the vectors in a vector-length agnostic way.
      This requires UNPACK_STEP == NUNITS / UNPACK_FACTOR to be known at
      compile time.
--- gcc/jit/docs/_build/texinfo/libgccjit.texi.jj       2025-10-08 
09:24:14.934334478 +0200
+++ gcc/jit/docs/_build/texinfo/libgccjit.texi  2025-12-10 21:42:23.084032601 
+0100
@@ -16418,7 +16418,7 @@ in your email (along with the host tripl
 
 A good patch should contain the information listed in the
 gcc contribution guide linked to above; for a @code{jit} patch, the patch
-shold contain:
+should contain:
 
 @quotation
 
--- gcc/jit/docs/internals/index.rst.jj 2025-10-08 09:24:14.950334257 +0200
+++ gcc/jit/docs/internals/index.rst    2025-12-10 21:42:23.089032515 +0100
@@ -358,7 +358,7 @@ in your email (along with the host tripl
 
 A good patch should contain the information listed in the
 gcc contribution guide linked to above; for a ``jit`` patch, the patch
-shold contain:
+should contain:
 
   * the code itself (for example, a new API entrypoint will typically
     touch ``libgccjit.h`` and ``.c``, along with support code in
--- gcc/except.cc.jj    2025-05-20 08:14:05.956412397 +0200
+++ gcc/except.cc       2025-12-10 21:42:22.983657216 +0100
@@ -2566,7 +2566,7 @@ maybe_add_nop_after_section_switch (void
                }
 
              /* We visit only labels from cold section.  We should never hit
-                begining of the insn stream here.  */
+                beginning of the insn stream here.  */
              insn = PREV_INSN (insn);
            }
        }
--- gcc/rust/backend/rust-tree.cc.jj    2025-08-06 10:41:32.702071112 +0200
+++ gcc/rust/backend/rust-tree.cc       2025-12-10 21:42:23.104016987 +0100
@@ -4882,7 +4882,7 @@ fold_builtin_source_location (location_t
            }
          else if (strcmp (n, "_M_function_name") == 0)
            {
-             const char *name = "todo: add funciton name here";
+             const char *name = "todo: add function name here";
 
              // if (current_function_decl)
              // name = cxx_printable_name (current_function_decl, 2);
--- gcc/rust/resolve/rust-late-name-resolver-2.0.cc.jj  2025-10-30 
22:37:10.299675781 +0100
+++ gcc/rust/resolve/rust-late-name-resolver-2.0.cc     2025-12-10 
21:42:23.112032122 +0100
@@ -252,7 +252,7 @@ Late::visit (AST::SelfParam &param)
 
   DefaultResolver::visit (param);
   // FIXME: this location should be a bit off
-  // ex: would point to the begining of "mut self" instead of the "self"
+  // ex: would point to the beginning of "mut self" instead of the "self"
   std::ignore = ctx.values.insert (Identifier ("self", param.get_locus ()),
                                   param.get_node_id ());
 }
--- gcc/d/dmd/astenums.d.jj     2025-04-08 14:08:50.468292766 +0200
+++ gcc/d/dmd/astenums.d        2025-12-10 21:42:22.983034331 +0100
@@ -149,7 +149,7 @@ enum STC : ulong  // transfer changes to
 alias StorageClass = ulong;
 
 /********
- * Determine if it's the ambigous case of where `return` attaches to.
+ * Determine if it's the ambiguous case of where `return` attaches to.
  * Params:
  *   stc = STC flags
  * Returns:
--- gcc/tree-ssa-loop-ivcanon.cc.jj     2025-04-08 14:09:29.332751722 +0200
+++ gcc/tree-ssa-loop-ivcanon.cc        2025-12-10 21:42:23.123217562 +0100
@@ -1539,7 +1539,7 @@ tree_unroll_loops_completely (bool may_i
 
   estimate_numbers_of_iterations (cfun);
 
-  /* Mark all innermost loop at the begining.  */
+  /* Mark all innermost loop at the beginning.  */
   for (auto loop : loops_list (cfun, LI_FROM_INNERMOST))
     {
       if (!loop->inner)
--- gcc/fortran/trans-expr.cc.jj        2025-11-14 16:32:39.781789214 +0100
+++ gcc/fortran/trans-expr.cc   2025-12-10 21:42:23.002034006 +0100
@@ -8347,7 +8347,7 @@ gfc_conv_procedure_call (gfc_se * se, gf
        }
 
       /* Character strings are passed as two parameters, a length and a
-        pointer - except for Bind(c) and c_ptrs which only passe the pointer.
+        pointer - except for Bind(c) and c_ptrs which only pass the pointer.
         An unlimited polymorphic formal argument likewise does not
         need the length.  */
       if (parmse.string_length != NULL_TREE
--- gcc/gcc.cc.jj       2025-11-30 15:52:11.759159043 +0100
+++ gcc/gcc.cc  2025-12-10 21:42:23.003849456 +0100
@@ -7887,7 +7887,7 @@ out:
 }
 
 /* This routine reads lines from IN file, adds C++ style comments
-   at the begining of each line and writes result into OUT.  */
+   at the beginning of each line and writes result into OUT.  */
 
 static void
 insert_comments (const char *file_in, const char *file_out)

        Jakub

Reply via email to