diff options
author | Martin Sebor <msebor@redhat.com> | 2018-05-22 17:51:16 +0000 |
---|---|---|
committer | Martin Sebor <msebor@gcc.gnu.org> | 2018-05-22 11:51:16 -0600 |
commit | 39c71bc3b7756aafbddbd45ca1a2a90690dcb460 (patch) | |
tree | 86e74de3dd0b826d07e52e8bd8d99319d28388fb | |
parent | d677a8b6818b1682bfccae40cceb7264b53c1018 (diff) | |
download | gcc-39c71bc3b7756aafbddbd45ca1a2a90690dcb460.zip gcc-39c71bc3b7756aafbddbd45ca1a2a90690dcb460.tar.gz gcc-39c71bc3b7756aafbddbd45ca1a2a90690dcb460.tar.bz2 |
Fix typo in a comment.
From-SVN: r260543
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/calls.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3dc0566..7ba041b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2018-05-22 Martin Sebor <msebor@redhat.com> + + * calls.c (maybe_warn_nonstring_arg): Fix a typo in a comment. + 2018-05-22 Jackson Woodruff <jackson.woodruff@arm.com> Kyrylo Tkachov <kyrylo.tkachov@arm.com> diff --git a/gcc/calls.c b/gcc/calls.c index d2eecf1..9d8b96f 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]; |