Fix typo in a comment.
authorMartin Sebor <msebor@redhat.com>
Tue, 22 May 2018 17:51:16 +0000 (17:51 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Tue, 22 May 2018 17:51:16 +0000 (11:51 -0600)
From-SVN: r260543

gcc/ChangeLog
gcc/calls.c

index 3dc05662b7bd39881508e5d4112f366fcaabf850..7ba041be303d1a809b4aa97d247d6ec383b470b1 100644 (file)
@@ -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>
 
index d2eecf139e0ac01c1e4248b7d8caffc2c31fb7b0..9d8b96f34ad6afb943900a4769d71322c3983c04 100644 (file)
@@ -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];