From a6f7ff29c7d6e66c4dd823b7aac5af91e4b857d5 Mon Sep 17 00:00:00 2001 From: Osama Abdelkader Date: Sun, 26 Oct 2025 08:38:06 -0600 Subject: [PATCH] [PATCH] middle-end: Fix typos in comments 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 --- 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 56b3a5ad2a46..359c994139b2 100644 --- a/gcc/tree-vectorizer.h +++ b/gcc/tree-vectorizer.h @@ -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, diff --git a/gcc/value-range-storage.h b/gcc/value-range-storage.h index 191e00fb177f..60da73067201 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 1814818d7271..37b575c636e2 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.47.3