From 39c71bc3b7756aafbddbd45ca1a2a90690dcb460 Mon Sep 17 00:00:00 2001 From: Martin Sebor Date: Tue, 22 May 2018 17:51:16 +0000 Subject: [PATCH] Fix typo in a comment. From-SVN: r260543 --- gcc/ChangeLog | 4 ++++ gcc/calls.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3dc05662b7b..7ba041be303 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2018-05-22 Martin Sebor + + * calls.c (maybe_warn_nonstring_arg): Fix a typo in a comment. + 2018-05-22 Jackson Woodruff Kyrylo Tkachov diff --git a/gcc/calls.c b/gcc/calls.c index d2eecf139e0..9d8b96f34ad 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -1691,7 +1691,7 @@ maybe_warn_nonstring_arg (tree fndecl, tree exp) } else { - /* Replace the bound on the oparation with the upper bound + /* Replace the bound on the operation with the upper bound of the length of the string if the latter is smaller. */ if (tree_int_cst_lt (lenrng[1], bndrng[0])) bndrng[0] = lenrng[1]; -- 2.30.2