projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d677a8b
)
Fix typo in a comment.
author
Martin Sebor
<msebor@redhat.com>
Tue, 22 May 2018 17:51:16 +0000
(17:51 +0000)
committer
Martin Sebor
<msebor@gcc.gnu.org>
Tue, 22 May 2018 17:51:16 +0000
(11:51 -0600)
From-SVN: r260543
gcc/ChangeLog
patch
|
blob
|
history
gcc/calls.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 3dc05662b7bd39881508e5d4112f366fcaabf850..7ba041be303d1a809b4aa97d247d6ec383b470b1 100644
(file)
--- 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 d2eecf139e0ac01c1e4248b7d8caffc2c31fb7b0..9d8b96f34ad6afb943900a4769d71322c3983c04 100644
(file)
--- 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 op
a
ration with the upper bound
+ /* Replace the bound on the op
e
ration 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];