From 3ab72211f7f30e7c458a66aed8a2613ac53d49c0 Mon Sep 17 00:00:00 2001 From: msebor Date: Tue, 22 May 2018 17:51:16 +0000 Subject: [PATCH] Fix typo in a comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@260543 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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.11.4.GIT