Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
39c71bc3
Commit
39c71bc3
authored
May 22, 2018
by
Martin Sebor
Committed by
Martin Sebor
May 22, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in a comment.
From-SVN: r260543
parent
d677a8b6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/ChangeLog
+4
-0
gcc/calls.c
+1
-1
No files found.
gcc/ChangeLog
View file @
39c71bc3
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>
...
...
gcc/calls.c
View file @
39c71bc3
...
...
@@ -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
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment