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 <[email protected]>
---
gcc/tree-vectorizer.h | 2 +-
gcc/value-range-storage.h | 2 +-
gcc/wide-int.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/gcc/tree-vectorizer.h b/gcc/tree-vectorizer.h
index 727534823..aa01a78d4 100644
--- a/gcc/tree-vectorizer.h
+++ b/gcc/tree-vectorizer.h
@@ -2148,7 +2148,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,
diff --git a/gcc/value-range-storage.h b/gcc/value-range-storage.h
index 191e00fb1..60da73067 100644
--- a/gcc/value-range-storage.h
+++ b/gcc/value-range-storage.h
@@ -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.
diff --git a/gcc/wide-int.h b/gcc/wide-int.h
index 1814818d7..37b575c63 100644
--- a/gcc/wide-int.h
+++ b/gcc/wide-int.h
@@ -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
--
2.43.0