aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-10-07 12:20:36 +0100
committerJonathan Wakely <jwakely@redhat.com>2022-10-07 12:22:32 +0100
commitdf78e15233c1dcf9b935c7380fc95359ebcc5562 (patch)
tree6100c8779dd05fba016efe5e03738dd1118ff130 /gcc
parent8e2f453de3969c4789b96205febc36d9c3ce022a (diff)
downloadgcc-df78e15233c1dcf9b935c7380fc95359ebcc5562.zip
gcc-df78e15233c1dcf9b935c7380fc95359ebcc5562.tar.gz
gcc-df78e15233c1dcf9b935c7380fc95359ebcc5562.tar.bz2
gcc: Fix comment typo
gcc/ChangeLog: * value-range.cc (irange::irange_contains_p): Fix comment typo.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/value-range.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/value-range.cc b/gcc/value-range.cc
index 16105f8..a14f9bc 100644
--- a/gcc/value-range.cc
+++ b/gcc/value-range.cc
@@ -2509,7 +2509,7 @@ irange::irange_contains_p (const irange &r) const
// Otherwise, check if this's pair occurs before R's.
if (wi::lt_p (wi::to_wide (u), wi::to_wide (rl), sign))
{
- // There's still at leats one pair of R left.
+ // There's still at least one pair of R left.
if (++i >= num_pairs ())
return false;
l = m_base[i * 2];