Hi! This patch fixes some comment typos, singe -> single and unsinged -> unsigned.
2025-08-11 Jakub Jelinek <ja...@redhat.com> gcc/ * tree-cfg.cc (find_case_label_for_value): Fix comment typo, singe-valued -> single-valued. * config/arc/arc.md: Fix comment typos, unsinged -> unsigned. gcc/fortran/ * gfortran.h (gfc_case): Fix comment typo, singe -> single. gcc/testsuite/ * g++.dg/warn/template-1.C: Fix comment typo, unsinged -> unsigned. * gcc.target/powerpc/builtins-2-p9-runnable.c (main): Likewise. * gcc.dg/graphite/id-30.c: Likewise. --- gcc/tree-cfg.cc.jj 2025-07-16 13:10:10.738415505 +0200 +++ gcc/tree-cfg.cc 2025-08-08 22:41:55.483147559 +0200 @@ -2473,7 +2473,7 @@ find_case_label_for_value (const gswitch if (CASE_HIGH (t) == NULL) { - /* A singe-valued case label. */ + /* A single-valued case label. */ if (cmp == 0) return t; } --- gcc/config/arc/arc.md.jj 2025-06-26 09:31:53.744585166 +0200 +++ gcc/config/arc/arc.md 2025-08-08 22:43:54.241607662 +0200 @@ -66,9 +66,9 @@ ;; I signed 12-bit immediate (for ARCompact) ;; K unsigned 3-bit immediate (for ARCompact) ;; L unsigned 6-bit immediate (for ARCompact) -;; M unsinged 5-bit immediate (for ARCompact) -;; O unsinged 7-bit immediate (for ARCompact) -;; P unsinged 8-bit immediate (for ARCompact) +;; M unsigned 5-bit immediate (for ARCompact) +;; O unsigned 7-bit immediate (for ARCompact) +;; P unsigned 8-bit immediate (for ARCompact) ;; N constant '1' (for ARCompact) --- gcc/fortran/gfortran.h.jj 2025-07-30 13:40:57.361534460 +0200 +++ gcc/fortran/gfortran.h 2025-08-08 22:42:31.968673976 +0200 @@ -2944,7 +2944,7 @@ typedef struct gfc_equiv_list upwards, if *low is NULL the selection is *high downwards. This structure has separate fields to allow single and double linked - lists of CASEs at the same time. The singe linked list along the NEXT + lists of CASEs at the same time. The single linked list along the NEXT field is a list of cases for a single CASE label. The double linked list along the LEFT/RIGHT fields is used to detect overlap and to build a table of the cases for SELECT constructs with a CHARACTER --- gcc/testsuite/g++.dg/warn/template-1.C.jj 2020-01-14 20:02:47.009606449 +0100 +++ gcc/testsuite/g++.dg/warn/template-1.C 2025-08-08 22:43:58.382553975 +0200 @@ -2,7 +2,7 @@ //PR c++/11490 //Since N is know at instantiation time, there // should be no warning about comparision between -// unsinged and signed interegers. +// unsigned and signed interegers. // { dg-do compile } // { dg-options "-W" } --- gcc/testsuite/gcc.target/powerpc/builtins-2-p9-runnable.c.jj 2020-07-07 20:40:38.509925862 +0200 +++ gcc/testsuite/gcc.target/powerpc/builtins-2-p9-runnable.c 2025-08-08 22:44:07.938430075 +0200 @@ -21,7 +21,7 @@ int main() { /* Returns a vector with each element containing the parity of the low-order bit of each of the bytes in that element. Note results are always - returned in an unsinged type, per the ABI spec. */ + returned in an unsigned type, per the ABI spec. */ vsia = (vector int) {0x10101010, 0x10101011, 0x10101111, 0x10111111}; vsiexpt = (vector unsigned int){0x0, 0x1, 0x0, 0x1}; --- gcc/testsuite/gcc.dg/graphite/id-30.c.jj 2020-01-14 20:02:47.300602089 +0100 +++ gcc/testsuite/gcc.dg/graphite/id-30.c 2025-08-08 22:44:02.368502294 +0200 @@ -1,5 +1,5 @@ /* The modulo constraints we generate for the niter expression - (unsinged long)ubound - (unsigned long)lbound + (unsigned long)ubound - (unsigned long)lbound end up with a modulo that we cannot represent in the expression type we are using (int64_t), so we run into the codegen error where ISL generates a modulo/divide by sth that doesn't fit the Jakub