On 28/05/26 17:17, [email protected] wrote:
External email: Use caution opening links or attachmentsFrom: Dhruv Chawla <[email protected]> This patch series is a comb through the GCC codebase to try and eliminate as many source-level typos as I could find. This second series addresses changes to all the backends, including paths in: - gcc/config/ - gcc/common/config/ - libgcc/config/ There are also some changes to build files in config/. I request help from the maintainers in testing this across the architectures that are available to try and minimize backend testsuite failure fallout as part of this series. This would not have been possible without the help of the codespell tool (https://github.com/codespell-project/codespell), whose replacement suggestions formed the foundation of this work. Dhruv Chawla (48): aarch64: Fix typos in various files alpha: Fix typos in various files arc: Fix typos in various files arm: Fix typos in various files avr: Fix typos in various files bfin: Fix typo in bfin.cc bpf: Fix typos in various files c6x: Fix typos in c6x.cc csky: Fix typos in csky.cc epiphany: Fix typos in various files fr30: Fix typos in fr30.cc frv: Fix typos in frv-opts.h ft32: Fix typos in ft32.cc gcn: Fix typos in various files i386: Fix typos in various files ia64: Fix typos in various files lm32: Fix typo in lm32.cc loongarch: Fix typos in various files m68k: Fix typos in various files mips: Fix typos in various files mcore: Fix typo in mcore.h microblaze: Fix typos in various files mingw: Fix typo in winnt-cxx.cc msp430: Fix typos in various files nds32: Fix typos in various files nvptx: Fix typos in various files or1k: Fix typos in various files pa: Fix typos in pa.cc riscv: Fix typos in various files pdp11: Fix typo in pdp11.cc rl78: Fix typos in various files rs6000: Fix typos in various files s390: Fix typos in various files rx: Fix typos in rx.cc and rx.md sh: Fix typos in various files sparc: Fix typos in various files vax: Fix typos in various files visium: Fix typos in visium.h vms: Fix typos in various files xtensa: Fix typo in xtensa.cc config: Fix typos in various files gcc/config: Fix typos in various files libatomic: Fix typos in various files libgomp: Fix typos in various files libitm: Fix typo in config/linux/futex_bits.h libstdc++: Fix typos in os/vxworks/os_defines.h libgcc/config/libbid: Fix typos in various files Re-flow lines made longer than 80 characters by typo fixes config/acinclude.m4 | 4 +- config/lib-link.m4 | 2 +- config/picflag.m4 | 2 +- config/pkg.m4 | 2 +- config/po.m4 | 2 +- config/stdint.m4 | 2 +- config/weakref.m4 | 2 +- gcc/common/config/aarch64/aarch64-common.cc | 4 +- gcc/common/config/aarch64/cpuinfo.h | 2 +- gcc/common/config/arm/arm-common.cc | 12 +- gcc/common/config/avr/avr-common.cc | 2 +- gcc/common/config/nds32/nds32-common.cc | 8 +- gcc/common/config/riscv/riscv-common.cc | 8 +- gcc/config/aarch64/aarch64-builtins.cc | 2 +- gcc/config/aarch64/aarch64-c.cc | 2 +- gcc/config/aarch64/aarch64-modes.def | 2 +- gcc/config/aarch64/aarch64-simd.md | 14 +- gcc/config/aarch64/aarch64-speculation.cc | 2 +- .../aarch64/aarch64-sve-builtins-functions.h | 2 +- .../aarch64/aarch64-sve-builtins-shapes.cc | 2 +- gcc/config/aarch64/aarch64-sve-builtins.cc | 2 +- gcc/config/aarch64/aarch64-sve.md | 8 +- gcc/config/aarch64/aarch64-sve2.md | 2 +- gcc/config/aarch64/aarch64.cc | 54 ++++---- gcc/config/aarch64/aarch64.h | 10 +- gcc/config/aarch64/aarch64.md | 2 +- gcc/config/aarch64/aarch64.opt | 2 +- gcc/config/aarch64/arm_bf16.h | 2 +- gcc/config/aarch64/arm_neon.h | 2 +- gcc/config/aarch64/cortex-a57-fma-steering.cc | 2 +- gcc/config/aarch64/driver-aarch64.cc | 4 +- gcc/config/aarch64/iterators.md | 4 +- gcc/config/aarch64/thunderx.md | 2 +- gcc/config/aarch64/thunderx3t110.md | 2 +- gcc/config/alpha/alpha.cc | 4 +- gcc/config/alpha/predicates.md | 2 +- gcc/config/arc/arc-arch.h | 2 +- gcc/config/arc/arc-cpus.def | 2 +- gcc/config/arc/arc.cc | 32 ++--- gcc/config/arc/arc.h | 8 +- gcc/config/arc/arc.md | 10 +- gcc/config/arc/arc.opt | 2 +- gcc/config/arc/arc700.md | 2 +- gcc/config/arc/elf.h | 2 +- gcc/config/arm/aarch-bti-insert.cc | 2 +- gcc/config/arm/arm-builtins.cc | 4 +- gcc/config/arm/arm-modes.def | 2 +- gcc/config/arm/arm-mve-builtins-base.cc | 4 +- gcc/config/arm/arm-mve-builtins-shapes.cc | 12 +- gcc/config/arm/arm-protos.h | 2 +- gcc/config/arm/arm.cc | 58 ++++---- gcc/config/arm/arm.h | 2 +- gcc/config/arm/arm.md | 8 +- gcc/config/arm/constraints.md | 2 +- gcc/config/arm/cortex-a17-neon.md | 2 +- gcc/config/arm/cortex-r4f.md | 2 +- gcc/config/arm/crypto.md | 4 +- gcc/config/arm/elf.h | 2 +- gcc/config/arm/fa726te.md | 2 +- gcc/config/arm/iterators.md | 4 +- gcc/config/arm/neon.md | 2 +- gcc/config/arm/thumb1.md | 4 +- gcc/config/arm/uclinuxfdpiceabi.h | 2 +- gcc/config/arm/unspecs.md | 2 +- gcc/config/arm/vec-common.md | 2 +- gcc/config/arm/vxworks.h | 2 +- gcc/config/avr/avr-passes.cc | 20 +-- gcc/config/avr/avr.cc | 20 +-- gcc/config/avr/avr.h | 4 +- gcc/config/avr/avr.md | 12 +- gcc/config/avr/builtins.def | 4 +- gcc/config/avr/specs.h | 2 +- gcc/config/bfin/bfin.cc | 2 +- gcc/config/bpf/bpf.cc | 2 +- gcc/config/bpf/core-builtins.cc | 12 +- gcc/config/c6x/c6x.cc | 6 +- gcc/config/csky/csky.cc | 6 +- gcc/config/darwin-c.cc | 2 +- gcc/config/darwin-driver.cc | 2 +- gcc/config/darwin.cc | 10 +- gcc/config/epiphany/epiphany.cc | 2 +- gcc/config/epiphany/resolve-sw-modes.cc | 2 +- gcc/config/fr30/fr30.cc | 2 +- gcc/config/frv/frv-opts.h | 2 +- gcc/config/ft32/ft32.cc | 2 +- gcc/config/gcn/constraints.md | 10 +- gcc/config/gcn/gcn-opts.h | 2 +- gcc/config/gcn/gcn-run.cc | 2 +- gcc/config/gcn/gcn-valu.md | 2 +- gcc/config/gcn/gcn.cc | 20 +-- gcc/config/gcn/gcn.h | 4 +- gcc/config/gcn/gcn.md | 8 +- gcc/config/i386/athlon.md | 22 +-- gcc/config/i386/avx512fintrin.h | 2 +- gcc/config/i386/btver2.md | 12 +- gcc/config/i386/c86-4g-m7.md | 4 +- gcc/config/i386/c86-4g.md | 4 +- gcc/config/i386/cygwin.h | 4 +- gcc/config/i386/i386-c.cc | 2 +- gcc/config/i386/i386-expand.cc | 24 ++-- gcc/config/i386/i386-features.cc | 10 +- gcc/config/i386/i386-features.h | 2 +- gcc/config/i386/i386-options.cc | 8 +- gcc/config/i386/i386.cc | 64 ++++----- gcc/config/i386/i386.h | 6 +- gcc/config/i386/i386.md | 8 +- gcc/config/i386/i386elf.h | 2 +- gcc/config/i386/predicates.md | 8 +- gcc/config/i386/sse.md | 10 +- gcc/config/i386/x86-tune-costs.h | 16 +-- gcc/config/i386/x86-tune-sched-atom.cc | 6 +- gcc/config/i386/x86-tune-sched-bd.cc | 4 +- gcc/config/i386/x86-tune-sched.cc | 2 +- gcc/config/i386/x86-tune.def | 8 +- gcc/config/i386/zn4zn5.md | 2 +- gcc/config/i386/znver.md | 6 +- gcc/config/ia64/ia64.cc | 2 +- gcc/config/ia64/itanium2.md | 4 +- gcc/config/ia64/sync.md | 4 +- gcc/config/lm32/lm32.cc | 2 +- gcc/config/loongarch/lasx.md | 2 +- gcc/config/loongarch/loongarch-builtins.cc | 2 +- gcc/config/loongarch/loongarch-c.cc | 2 +- gcc/config/loongarch/loongarch-opts.cc | 2 +- gcc/config/loongarch/loongarch-opts.h | 2 +- gcc/config/loongarch/loongarch.cc | 36 ++--- gcc/config/loongarch/loongarch.h | 2 +- gcc/config/loongarch/loongarch.md | 4 +- gcc/config/loongarch/lsx.md | 2 +- gcc/config/loongarch/predicates.md | 6 +- gcc/config/loongarch/simd.md | 4 +- gcc/config/loongarch/sync.md | 4 +- gcc/config/m68k/cf.md | 4 +- gcc/config/m68k/m68k.cc | 16 +-- gcc/config/m68k/m68kelf.h | 2 +- gcc/config/m68k/netbsd-elf.h | 2 +- gcc/config/mcore/mcore.h | 2 +- gcc/config/microblaze/microblaze.cc | 5 +- gcc/config/microblaze/microblaze.h | 2 +- gcc/config/mingw/winnt-cxx.cc | 2 +- gcc/config/mips/driver-native.cc | 2 +- gcc/config/mips/mips-cpus.def | 2 +- gcc/config/mips/mips.cc | 20 +-- gcc/config/mips/mips.h | 2 +- gcc/config/mips/mips.md | 4 +- gcc/config/msp430/msp430-opts.h | 2 +- gcc/config/msp430/msp430.cc | 4 +- gcc/config/msp430/msp430.md | 6 +- gcc/config/nds32/constants.md | 2 +- gcc/config/nds32/constraints.md | 2 +- gcc/config/nds32/nds32-cost.cc | 2 +- gcc/config/nds32/nds32-dspext.md | 6 +- gcc/config/nds32/nds32-e8.md | 2 +- gcc/config/nds32/nds32-fp-as-gp.cc | 2 +- gcc/config/nds32/nds32-intrinsic.cc | 2 +- gcc/config/nds32/nds32-isr.cc | 4 +- gcc/config/nds32/nds32-md-auxiliary.cc | 22 +-- gcc/config/nds32/nds32-memory-manipulation.cc | 4 +- gcc/config/nds32/nds32-multiple.md | 4 +- gcc/config/nds32/nds32-n7.md | 6 +- gcc/config/nds32/nds32-n8.md | 6 +- gcc/config/nds32/nds32-n9-2r1w.md | 4 +- gcc/config/nds32/nds32-pipelines-auxiliary.cc | 4 +- gcc/config/nds32/nds32-predicates.cc | 6 +- gcc/config/nds32/nds32-protos.h | 4 +- gcc/config/nds32/nds32-relax-opt.cc | 2 +- gcc/config/nds32/nds32-utils.cc | 2 +- gcc/config/nds32/nds32.cc | 46 +++---- gcc/config/nds32/nds32.h | 4 +- gcc/config/nds32/nds32.md | 6 +- gcc/config/nds32/nds32_intrinsic.h | 2 +- gcc/config/nds32/nds32_isr.h | 2 +- gcc/config/nvptx/nvptx.cc | 28 ++-- gcc/config/nvptx/nvptx.md | 2 +- gcc/config/or1k/or1k.cc | 4 +- gcc/config/or1k/or1k.md | 6 +- gcc/config/pa/pa.cc | 4 +- gcc/config/pdp11/pdp11.cc | 2 +- gcc/config/riscv/riscv-avlprop.cc | 2 +- gcc/config/riscv/riscv-bclr-lowest-set-bit.cc | 2 +- gcc/config/riscv/riscv-ext-andes.def | 2 +- gcc/config/riscv/riscv-ext.def | 2 +- gcc/config/riscv/riscv-profiles.def | 2 +- gcc/config/riscv/riscv-selftests.cc | 6 +- gcc/config/riscv/riscv-string.cc | 2 +- gcc/config/riscv/riscv-v.cc | 4 +- gcc/config/riscv/riscv-vect-permconst.cc | 2 +- gcc/config/riscv/riscv-vector-builtins.cc | 2 +- gcc/config/riscv/riscv-vsetvl.cc | 4 +- gcc/config/riscv/riscv-zicfilp.cc | 2 +- gcc/config/riscv/riscv.cc | 12 +- gcc/config/riscv/riscv.h | 2 +- gcc/config/riscv/riscv.md | 10 +- gcc/config/rl78/rl78.cc | 8 +- gcc/config/rs6000/aix.h | 2 +- gcc/config/rs6000/cell.md | 10 +- gcc/config/rs6000/darwin.h | 2 +- gcc/config/rs6000/mmintrin.h | 2 +- gcc/config/rs6000/rs6000-call.cc | 3 +- gcc/config/rs6000/rs6000-internal.h | 2 +- gcc/config/rs6000/rs6000-logue.cc | 4 +- gcc/config/rs6000/rs6000-p8swap.cc | 6 +- gcc/config/rs6000/rs6000-passes.def | 2 +- gcc/config/rs6000/rs6000-string.cc | 10 +- gcc/config/rs6000/rs6000.cc | 54 ++++---- gcc/config/rs6000/rs6000.h | 4 +- gcc/config/rs6000/rs6000.md | 10 +- gcc/config/rs6000/sync.md | 2 +- gcc/config/rs6000/vector.md | 4 +- gcc/config/rs6000/vsx.md | 8 +- gcc/config/rs6000/vxworks.h | 4 +- gcc/config/rx/rx.cc | 4 +- gcc/config/rx/rx.md | 2 +- gcc/config/s390/2817.md | 2 +- gcc/config/s390/s390.cc | 30 ++-- gcc/config/s390/s390.h | 2 +- gcc/config/s390/s390.md | 4 +- gcc/config/s390/subst.md | 2 +- gcc/config/s390/vx-builtins.md | 2 +- gcc/config/sh/sh-mem.cc | 2 +- gcc/config/sh/sh.cc | 20 +-- gcc/config/sh/sh.md | 14 +- gcc/config/sh/sh4-300.md | 2 +- gcc/config/sh/sh_treg_combine.cc | 6 +- gcc/config/sh/sync.md | 4 +- gcc/config/sol2-stubs.cc | 2 +- gcc/config/sol2.cc | 2 +- gcc/config/sol2.h | 4 +- gcc/config/sparc/freebsd.h | 2 +- gcc/config/sparc/sparc.cc | 6 +- gcc/config/vax/vax.cc | 2 +- gcc/config/vax/vax.h | 2 +- gcc/config/visium/visium.h | 6 +- gcc/config/vms/vms-c.cc | 6 +- gcc/config/vms/vms.cc | 4 +- gcc/config/vx-common.h | 2 +- gcc/config/vxworks.h | 2 +- gcc/config/xtensa/xtensa.cc | 2 +- libatomic/config/mingw/lock.c | 2 +- libatomic/config/posix/lock.c | 2 +- libgcc/config/aarch64/aarch64-unwind.h | 2 +- libgcc/config/alpha/vms-unwind.h | 4 +- libgcc/config/arc/ieee-754/divtab-arc-df.c | 4 +- libgcc/config/arc/ieee-754/divtab-arc-sf.c | 4 +- libgcc/config/arm/fp16.c | 2 +- libgcc/config/avr/libf7/libf7.c | 4 +- libgcc/config/avr/libf7/libf7.h | 2 +- libgcc/config/libbid/bid128.c | 4 +- libgcc/config/libbid/bid128_compare.c | 128 +++++++++--------- libgcc/config/libbid/bid128_fma.c | 4 +- libgcc/config/libbid/bid128_minmax.c | 25 ++-- libgcc/config/libbid/bid128_round_integral.c | 12 +- libgcc/config/libbid/bid128_string.c | 2 +- libgcc/config/libbid/bid64_compare.c | 40 +++--- libgcc/config/libbid/bid64_fma.c | 6 +- libgcc/config/libbid/bid64_minmax.c | 8 +- libgcc/config/libbid/bid64_noncomp.c | 2 +- libgcc/config/libbid/bid64_string.c | 2 +- libgcc/config/libbid/bid_binarydecimal.c | 6 +- libgcc/config/libbid/bid_dpd.c | 2 +- libgcc/config/libbid/bid_flag_operations.c | 8 +- libgcc/config/libbid/bid_from_int.c | 4 +- libgcc/config/libbid/bid_gcc_intrinsics.h | 2 +- libgcc/config/libbid/bid_internal.h | 4 +- libgcc/config/libbid/bid_round.c | 10 +- libgcc/config/mips/linux-unwind.h | 2 +- libgcc/config/nds32/initfini.c | 2 +- libgcc/config/nds32/linux-atomic.c | 2 +- libgcc/config/nvptx/atomic.c | 2 +- libgcc/config/pa/linux-atomic.c | 2 +- libgcc/config/pa/sync-libfuncs.c | 2 +- libgcc/config/s390/tpf-unwind.h | 2 +- libgomp/config/gcn/simple-bar.h | 2 +- libgomp/config/linux/futex.h | 2 +- libgomp/config/nvptx/bar.c | 2 +- libgomp/config/nvptx/bar.h | 2 +- libgomp/config/nvptx/simple-bar.h | 2 +- libgomp/config/posix/sem.c | 2 +- libgomp/config/posix/sem.h | 2 +- libgomp/config/posix/simple-bar.h | 2 +- libitm/config/linux/futex_bits.h | 2 +- libstdc++-v3/config/os/vxworks/os_defines.h | 4 +- 282 files changed, 890 insertions(+), 887 deletions(-) -- 2.43.0
Hi all, Based on Jeff's suggestion, I have committed most of these patches as: r17-1092-g790e293c304f86 - aarch64: Fix typos in various files r17-1093-gfe3c79d66f49ae - alpha: Fix typos in various files r17-1094-gf1bc866839a69d - arc: Fix typos in various files r17-1095-gd3c772fa1f8e4b - arm: Fix typos in various files r17-1096-g311b1afe7e459f - avr: Fix typos in various files r17-1097-gc6ede22d00dbee - bfin: Fix typo in bfin.cc r17-1098-g18dc571dfa903d - bpf: Fix typos in various files r17-1099-g29a97120429f22 - c6x: Fix typos in c6x.cc r17-1100-g32018c4574210f - csky: Fix typos in csky.cc r17-1101-g031682b524a46f - epiphany: Fix typos in various files r17-1102-g615c954131da0f - fr30: Fix typos in fr30.cc r17-1103-g0c0389666549eb - frv: Fix typos in frv-opts.h r17-1104-g43a797f37ad871 - ft32: Fix typos in ft32.cc r17-1105-gfd928d34b63e7f - gcn: Fix typos in various files r17-1106-g1cec26c68d7e74 - i386: Fix typos in various files r17-1107-gd14633892c29ab - ia64: Fix typos in various files r17-1108-gd3c777ba98deb8 - lm32: Fix typo in lm32.cc r17-1109-g567dd0359ef41e - loongarch: Fix typos in various files r17-1110-gb40dad5b6a0ecd - m68k: Fix typos in various files r17-1111-g9c31ebe3a2019d - mips: Fix typos in various files r17-1112-ga81ab1544772b0 - mcore: Fix typo in mcore.h r17-1113-g63132152368b92 - microblaze: Fix typos in various files r17-1114-g54a95706d88960 - mingw: Fix typo in winnt-cxx.cc r17-1115-g4793480a9f5e93 - msp430: Fix typos in various files r17-1116-g72102504e3e5c3 - nds32: Fix typos in various files r17-1117-ged4b1951771acf - nvptx: Fix typos in various files r17-1118-g55efb3287d14c7 - or1k: Fix typos in various files r17-1119-gfca0d706311d9c - pa: Fix typos in pa.cc r17-1120-ga6b02970cee696 - riscv: Fix typos in various files r17-1121-g27e751f6e7f946 - pdp11: Fix typo in pdp11.cc r17-1122-gc9a5eb3ad606ef - rl78: Fix typos in various files r17-1123-gd97d828de87cab - rs6000: Fix typos in various files r17-1124-g02e102b6fad79a - s390: Fix typos in various files r17-1125-g9ab2a37a96749f - rx: Fix typos in rx.cc and rx.md r17-1126-gd6a59542e07b57 - sh: Fix typos in various files r17-1127-gd6e3bee2ca8c4b - sparc: Fix typos in various files r17-1128-gc50b5507f857b0 - vax: Fix typos in various files r17-1129-g527a2aaa5a6149 - visium: Fix typos in visium.h r17-1130-gfb063f7d6bf4fa - vms: Fix typos in various files r17-1131-g1608dedd7d0f17 - xtensa: Fix typo in xtensa.cc r17-1132-ge1c02de3edf9d2 - gcc/config: Fix typos in various files r17-1133-g6b2897a716e12a - libatomic: Fix typos in various files r17-1134-g4376040f083d1e - libgomp: Fix typos in various files r17-1135-gb600207da50008 - libitm: Fix typo in config/linux/futex_bits.h r17-1136-g6d3c334bd9feb7 - libstdc++: Fix typos in os/vxworks/os_defines.h r17-1137-gd53694ffbaeaa6 - Re-flow lines made longer than 80 characters by typo fixes I have not committed the following patches: config: Fix typos in various files libgcc/config/libbid: Fix typos in various files ... as they modify external code. Following this email is a patch that contains the non-obvious code changes. -- Regards, Dhruv --- >8 --- [PATCH 48/49] gcc/config: Fix typos in non-comment lines Signed-off-by: Dhruv Chawla <[email protected]> gcc/ChangeLog: * config/avr/avr-passes.cc (bbinfo_t::optimize_one_block): Fix typos. * config/gcn/gcn-run.cc (main): Likewise. * config/rs6000/rs6000.cc (rs6000_debug_reg_global): Likewise. (rs6000_debug_adjust_cost): Likewise. * config/s390/s390.cc (s390_adjust_loops): Likewise. --- gcc/config/avr/avr-passes.cc | 2 +- gcc/config/gcn/gcn-run.cc | 2 +- gcc/config/rs6000/rs6000.cc | 6 +++--- gcc/config/s390/s390.cc | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gcc/config/avr/avr-passes.cc b/gcc/config/avr/avr-passes.cc index 5ade9971806..4e65bab0e5d 100644 --- a/gcc/config/avr/avr-passes.cc +++ b/gcc/config/avr/avr-passes.cc @@ -3216,7 +3216,7 @@ bbinfo_t::optimize_one_block (bool &changed) if (new_curr_insn != insn) { - avr_dump (";; Befor insn %d", INSN_UID (new_curr_insn)); + avr_dump (";; Before insn %d", INSN_UID (new_curr_insn)); prev_regs.dump (); } diff --git a/gcc/config/gcn/gcn-run.cc b/gcc/config/gcn/gcn-run.cc index ffbf929c25a..2b105a7d69f 100644 --- a/gcc/config/gcn/gcn-run.cc +++ b/gcc/config/gcn/gcn-run.cc @@ -747,7 +747,7 @@ main (int argc, char *argv[]) if (signal == SIGABRT) printf ("Kernel aborted\n"); else if (signal != 0) - printf ("Kernel received unkown signal\n"); + printf ("Kernel received unknown signal\n"); } if (debug) diff --git a/gcc/config/rs6000/rs6000.cc b/gcc/config/rs6000/rs6000.cc index 5562d612b22..55e5584894f 100644 --- a/gcc/config/rs6000/rs6000.cc +++ b/gcc/config/rs6000/rs6000.cc @@ -2298,7 +2298,7 @@ rs6000_debug_reg_global (void) { VIRTUAL_STACK_DYNAMIC_REGNUM, "stack_dynamic:" }, { VIRTUAL_OUTGOING_ARGS_REGNUM, "outgoing_args:" }, { VIRTUAL_CFA_REGNUM, "cfa (frame): " }, - { VIRTUAL_PREFERRED_STACK_BOUNDARY_REGNUM, "stack boundry:" }, + { VIRTUAL_PREFERRED_STACK_BOUNDARY_REGNUM, "stack boundary:" }, { LAST_VIRTUAL_REGISTER, "last virtual: " }, }; @@ -18469,10 +18469,10 @@ rs6000_debug_adjust_cost (rtx_insn *insn, int dep_type, rtx_insn *dep_insn, switch (dep_type) { - default: dep = "unknown depencency"; break; + default: dep = "unknown dependency"; break; case REG_DEP_TRUE: dep = "data dependency"; break; case REG_DEP_OUTPUT: dep = "output dependency"; break; - case REG_DEP_ANTI: dep = "anti depencency"; break; + case REG_DEP_ANTI: dep = "anti dependency"; break; } fprintf (stderr, diff --git a/gcc/config/s390/s390.cc b/gcc/config/s390/s390.cc index bd2adf6bfa1..58622387d89 100644 --- a/gcc/config/s390/s390.cc +++ b/gcc/config/s390/s390.cc @@ -15634,7 +15634,7 @@ s390_adjust_loops () if (dump_file) { if (loop->latch == NULL) - fprintf (dump_file, " muliple backward jumps\n"); + fprintf (dump_file, " multiple backward jumps\n"); else { fprintf (dump_file, " header insn: %d latch insn: %d ", -- 2.43.0
From da96a3a68c95d8a80f6fd84a12c0e1df9add498f Mon Sep 17 00:00:00 2001 From: Dhruv Chawla <[email protected]> Date: Mon, 1 Jun 2026 13:10:33 +0000 Subject: [PATCH 48/49] gcc/config: Fix typos in non-comment lines Signed-off-by: Dhruv Chawla <[email protected]> gcc/ChangeLog: * config/avr/avr-passes.cc (bbinfo_t::optimize_one_block): Fix typos. * config/gcn/gcn-run.cc (main): Likewise. * config/rs6000/rs6000.cc (rs6000_debug_reg_global): Likewise. (rs6000_debug_adjust_cost): Likewise. * config/s390/s390.cc (s390_adjust_loops): Likewise. --- gcc/config/avr/avr-passes.cc | 2 +- gcc/config/gcn/gcn-run.cc | 2 +- gcc/config/rs6000/rs6000.cc | 6 +++--- gcc/config/s390/s390.cc | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gcc/config/avr/avr-passes.cc b/gcc/config/avr/avr-passes.cc index 5ade9971806..4e65bab0e5d 100644 --- a/gcc/config/avr/avr-passes.cc +++ b/gcc/config/avr/avr-passes.cc @@ -3216,7 +3216,7 @@ bbinfo_t::optimize_one_block (bool &changed) if (new_curr_insn != insn) { - avr_dump (";; Befor insn %d", INSN_UID (new_curr_insn)); + avr_dump (";; Before insn %d", INSN_UID (new_curr_insn)); prev_regs.dump (); } diff --git a/gcc/config/gcn/gcn-run.cc b/gcc/config/gcn/gcn-run.cc index ffbf929c25a..2b105a7d69f 100644 --- a/gcc/config/gcn/gcn-run.cc +++ b/gcc/config/gcn/gcn-run.cc @@ -747,7 +747,7 @@ main (int argc, char *argv[]) if (signal == SIGABRT) printf ("Kernel aborted\n"); else if (signal != 0) - printf ("Kernel received unkown signal\n"); + printf ("Kernel received unknown signal\n"); } if (debug) diff --git a/gcc/config/rs6000/rs6000.cc b/gcc/config/rs6000/rs6000.cc index 5562d612b22..55e5584894f 100644 --- a/gcc/config/rs6000/rs6000.cc +++ b/gcc/config/rs6000/rs6000.cc @@ -2298,7 +2298,7 @@ rs6000_debug_reg_global (void) { VIRTUAL_STACK_DYNAMIC_REGNUM, "stack_dynamic:" }, { VIRTUAL_OUTGOING_ARGS_REGNUM, "outgoing_args:" }, { VIRTUAL_CFA_REGNUM, "cfa (frame): " }, - { VIRTUAL_PREFERRED_STACK_BOUNDARY_REGNUM, "stack boundry:" }, + { VIRTUAL_PREFERRED_STACK_BOUNDARY_REGNUM, "stack boundary:" }, { LAST_VIRTUAL_REGISTER, "last virtual: " }, }; @@ -18469,10 +18469,10 @@ rs6000_debug_adjust_cost (rtx_insn *insn, int dep_type, rtx_insn *dep_insn, switch (dep_type) { - default: dep = "unknown depencency"; break; + default: dep = "unknown dependency"; break; case REG_DEP_TRUE: dep = "data dependency"; break; case REG_DEP_OUTPUT: dep = "output dependency"; break; - case REG_DEP_ANTI: dep = "anti depencency"; break; + case REG_DEP_ANTI: dep = "anti dependency"; break; } fprintf (stderr, diff --git a/gcc/config/s390/s390.cc b/gcc/config/s390/s390.cc index bd2adf6bfa1..58622387d89 100644 --- a/gcc/config/s390/s390.cc +++ b/gcc/config/s390/s390.cc @@ -15634,7 +15634,7 @@ s390_adjust_loops () if (dump_file) { if (loop->latch == NULL) - fprintf (dump_file, " muliple backward jumps\n"); + fprintf (dump_file, " multiple backward jumps\n"); else { fprintf (dump_file, " header insn: %d latch insn: %d ", -- 2.43.0
