https://gcc.gnu.org/g:26ada8fc9ee97c598e4295bf8729ba903c039976
commit r16-4272-g26ada8fc9ee97c598e4295bf8729ba903c039976 Author: Jonathan Wakely <[email protected]> Date: Tue Oct 7 15:00:24 2025 +0100 all: Fix "specifc", "costant" and "constat" typos in comments gcc/ChangeLog: * config/i386/i386-features.cc (general_scalar_chain::vector_const_cost): Fix spelling in comment. * ipa-prop.h (enum jump_func_type): Likewise. * tree-vectorizer.cc (try_vectorize_loop_1): Likewise. gcc/cp/ChangeLog: * module.cc (trees_out::lang_vals): Fix spelling in comment. gcc/jit/ChangeLog: * docs/_build/texinfo/libgccjit.texi: Fix spelling. * docs/internals/index.rst: Likewise. libgm2/ChangeLog: * configure.host: Fix spelling in comment. libstdc++-v3/ChangeLog: * configure.host: Fix spelling in comment. gcc/testsuite/ChangeLog: * gfortran.dg/dynamic_dispatch_9.f03: Fix spelling in comment. * gfortran.dg/use_only_3.inc: Likewise Diff: --- gcc/config/i386/i386-features.cc | 2 +- gcc/cp/module.cc | 2 +- gcc/ipa-prop.h | 2 +- gcc/jit/docs/_build/texinfo/libgccjit.texi | 2 +- gcc/jit/docs/internals/index.rst | 2 +- gcc/testsuite/gfortran.dg/dynamic_dispatch_9.f03 | 2 +- gcc/testsuite/gfortran.dg/use_only_3.inc | 2 +- gcc/tree-vectorizer.cc | 2 +- libgm2/configure.host | 4 ++-- libstdc++-v3/configure.host | 4 ++-- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/gcc/config/i386/i386-features.cc b/gcc/config/i386/i386-features.cc index c313fb85f9ba..9348f55c2cd1 100644 --- a/gcc/config/i386/i386-features.cc +++ b/gcc/config/i386/i386-features.cc @@ -545,7 +545,7 @@ scalar_chain::build (bitmap candidates, unsigned insn_uid, bitmap disallowed) return true; } -/* Return a cost of building a vector costant +/* Return a cost of building a vector constant instead of using a scalar one. */ int diff --git a/gcc/cp/module.cc b/gcc/cp/module.cc index 5f814f39e72c..103d7506da2d 100644 --- a/gcc/cp/module.cc +++ b/gcc/cp/module.cc @@ -7691,7 +7691,7 @@ trees_in::tree_node_bools (tree t) } -/* Write out the lang-specifc vals of node T. */ +/* Write out the lang-specific vals of node T. */ void trees_out::lang_vals (tree t) diff --git a/gcc/ipa-prop.h b/gcc/ipa-prop.h index 74c9a6378370..046e83a521f6 100644 --- a/gcc/ipa-prop.h +++ b/gcc/ipa-prop.h @@ -72,7 +72,7 @@ along with GCC; see the file COPYING3. If not see enum jump_func_type { IPA_JF_UNKNOWN = 0, /* newly allocated and zeroed jump functions default */ - IPA_JF_CONST, /* represented by field costant */ + IPA_JF_CONST, /* represented by field constant */ IPA_JF_PASS_THROUGH, /* represented by field pass_through */ IPA_JF_LOAD_AGG, /* represented by field load_agg */ IPA_JF_ANCESTOR /* represented by field ancestor */ diff --git a/gcc/jit/docs/_build/texinfo/libgccjit.texi b/gcc/jit/docs/_build/texinfo/libgccjit.texi index 487c57118148..5852070153a5 100644 --- a/gcc/jit/docs/_build/texinfo/libgccjit.texi +++ b/gcc/jit/docs/_build/texinfo/libgccjit.texi @@ -15740,7 +15740,7 @@ The jit testsuite detects if @code{RUN_UNDER_VALGRIND} is present in the environment (with any value). If it is present, it runs the test client code under valgrind@footnote{https://valgrind.org}, -specifcally, the default +specifically, the default memcheck@footnote{https://valgrind.org/docs/manual/mc-manual.html} tool with --leak-check=full@footnote{https://valgrind.org/docs/manual/mc-manual.html#opt.leak-check}. diff --git a/gcc/jit/docs/internals/index.rst b/gcc/jit/docs/internals/index.rst index 36dd5391ca6a..50efebda13b4 100644 --- a/gcc/jit/docs/internals/index.rst +++ b/gcc/jit/docs/internals/index.rst @@ -137,7 +137,7 @@ Running under valgrind The jit testsuite detects if :envvar:`RUN_UNDER_VALGRIND` is present in the environment (with any value). If it is present, it runs the test client code under `valgrind <https://valgrind.org>`_, -specifcally, the default +specifically, the default `memcheck <https://valgrind.org/docs/manual/mc-manual.html>`_ tool with `--leak-check=full diff --git a/gcc/testsuite/gfortran.dg/dynamic_dispatch_9.f03 b/gcc/testsuite/gfortran.dg/dynamic_dispatch_9.f03 index b9b1b1a6e069..0f807ba51049 100644 --- a/gcc/testsuite/gfortran.dg/dynamic_dispatch_9.f03 +++ b/gcc/testsuite/gfortran.dg/dynamic_dispatch_9.f03 @@ -1,6 +1,6 @@ ! { dg-do run } ! -! [OOP] Ensure that different specifc interfaces are +! [OOP] Ensure that different specific interfaces are ! handled properly by dynamic dispatch. ! ! Contributed by Salvatore Filippone <[email protected]> diff --git a/gcc/testsuite/gfortran.dg/use_only_3.inc b/gcc/testsuite/gfortran.dg/use_only_3.inc index 7b860096b32d..7ef449e00082 100644 --- a/gcc/testsuite/gfortran.dg/use_only_3.inc +++ b/gcc/testsuite/gfortran.dg/use_only_3.inc @@ -397,7 +397,7 @@ END MODULE control_flags REAL(DP) :: ecutw = 0.0d0 REAL(DP) :: gcutw = 0.0d0 - ! values for costant cut-off computations + ! values for constant cut-off computations REAL(DP) :: ecfix = 0.0d0 ! value of the constant cut-off REAL(DP) :: ecutz = 0.0d0 ! height of the penalty function (above ecfix) diff --git a/gcc/tree-vectorizer.cc b/gcc/tree-vectorizer.cc index d7dc30bbeac5..97b6297fb145 100644 --- a/gcc/tree-vectorizer.cc +++ b/gcc/tree-vectorizer.cc @@ -1137,7 +1137,7 @@ try_vectorize_loop_1 (hash_table<simduid_to_vf> *&simduid_to_vf_htab, || ifn == IFN_MASK_STORE || ifn == IFN_MASK_CALL /* Don't keep the if-converted parts when the ifn with - specifc type is not supported by the backend. */ + specific type is not supported by the backend. */ || (direct_internal_fn_p (ifn) && !direct_internal_fn_supported_p (call, OPTIMIZE_FOR_SPEED))) diff --git a/libgm2/configure.host b/libgm2/configure.host index 2806fd6872b3..b96a37cab170 100644 --- a/libgm2/configure.host +++ b/libgm2/configure.host @@ -200,10 +200,10 @@ cpu_opt_ext_random=cpu/generic/opt/bits/opt_random.h # Set any OS-dependent bits. # Set the os_include_dir. -# Set the error_costants_dir. +# Set the error_constants_dir. # Set c_model, c_compatibility here. # If atomic ops and/or numeric limits are OS-specific rather than -# CPU-specifc, set those here too. +# CPU-specific, set those here too. # THIS TABLE IS SORTED. KEEP IT THAT WAY. case "${host_os}" in aix[56789]*) diff --git a/libstdc++-v3/configure.host b/libstdc++-v3/configure.host index 87a1822c661a..ff97216167de 100644 --- a/libstdc++-v3/configure.host +++ b/libstdc++-v3/configure.host @@ -210,10 +210,10 @@ cpu_opt_ext_random=cpu/generic/opt/bits/opt_random.h # Set any OS-dependent bits. # Set the os_include_dir. -# Set the error_costants_dir. +# Set the error_constants_dir. # Set c_model, c_compatibility here. # If atomic ops and/or numeric limits are OS-specific rather than -# CPU-specifc, set those here too. +# CPU-specific, set those here too. # THIS TABLE IS SORTED. KEEP IT THAT WAY. case "${host_os}" in aix[56789]*)
