This patch fixes some comment typos, singe -> single and unsinged -> unsigned.
2025-08-11 Jakub Jelinek <jakub@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.
;; 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)
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
//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" }
/* 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
/* 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};
if (CASE_HIGH (t) == NULL)
{
- /* A singe-valued case label. */
+ /* A single-valued case label. */
if (cmp == 0)
return t;
}