]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[PATCH] middle-end: Fix typos in comments
authorOsama Abdelkader <osama.abdelkader@gmail.com>
Sun, 26 Oct 2025 14:38:06 +0000 (08:38 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Sun, 26 Oct 2025 14:38:06 +0000 (08:38 -0600)
This patch fixes spelling errors in comments:
- "accomodate" -> "accommodate" in wide-int.h and value-range-storage.h
- "the the" -> "the" in tree-vectorizer.h

gcc/ChangeLog:

* wide-int.h: Fix typo "accomodate" to "accommodate" in comment.
* value-range-storage.h: Likewise.
* tree-vectorizer.h (dr_set_safe_speculative_read_required):
Fix duplicate "the the" to "the" in comment.

Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
gcc/tree-vectorizer.h
gcc/value-range-storage.h
gcc/wide-int.h

index 56b3a5ad2a460861a6579c608bd1367f7576ddb3..359c994139b211d3b4ac54d08890465f04ef107a 100644 (file)
@@ -2143,7 +2143,7 @@ dr_safe_speculative_read_required (stmt_vec_info stmt_info)
   return dr_info->safe_speculative_read_required;
 }
 
-/* Set the safe_speculative_read_required for the the stmt_vec_info, if group
+/* Set the safe_speculative_read_required for the stmt_vec_info, if group
    access then set on the fist element otherwise set on DR directly.  */
 inline void
 dr_set_safe_speculative_read_required (stmt_vec_info stmt_info,
index 191e00fb177f71bf8c3e6f76d07dd9274345552d..60da7306720188449e3e833f39a91529797052d8 100644 (file)
@@ -87,7 +87,7 @@ private:
 
   enum value_range_kind m_kind : 3;
 
-  // The length of this is m_num_ranges * 2 + 2 to accomodate the bitmask.
+  // The length of this is m_num_ranges * 2 + 2 to accommodate the bitmask.
   HOST_WIDE_INT m_val[1];
 
   // Another variable-length part of the structure following the HWIs.
index 1814818d72714de0c9b269cbbaf432008177403d..37b575c636e29b6ec86afe862dd0a06a698b265a 100644 (file)
@@ -235,7 +235,7 @@ along with GCC; see the file COPYING3.  If not see
 
 /* The MAX_BITSIZE_MODE_ANY_INT is automatically generated by a very
    early examination of the target's mode file.  The WIDE_INT_MAX_INL_ELTS
-   can accomodate at least 1 more bit so that unsigned numbers of that
+   can accommodate at least 1 more bit so that unsigned numbers of that
    mode can be represented as a signed value.  Note that it is still
    possible to create fixed_wide_ints that have precisions greater than
    MAX_BITSIZE_MODE_ANY_INT.  This can be useful when representing a