From: Martin Sebor Date: Tue, 22 May 2018 17:51:16 +0000 (+0000) Subject: Fix typo in a comment. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=39c71bc3b7756aafbddbd45ca1a2a90690dcb460;p=gcc.git Fix typo in a comment. From-SVN: r260543 --- 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];