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
8b3b26f7
Commit
8b3b26f7
authored
Apr 02, 2018
by
Martin Sebor
Committed by
Martin Sebor
Apr 02, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
invoke.texi (-Wrestrict): Fix typos.
gcc/ChangeLog: * doc/invoke.texi (-Wrestrict): Fix typos. From-SVN: r259020
parent
b7ef9225
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
gcc/ChangeLog
+4
-0
gcc/doc/invoke.texi
+6
-3
No files found.
gcc/ChangeLog
View file @
8b3b26f7
2018-04-02 Martin Sebor <msebor@redhat.com>
* doc/invoke.texi (-Wrestrict): Fix typos.
2018-04-02 Jim Wilson <jimw@sifive.com>
* config/riscv/riscv.h (SHIFT_COUNT_TRUNCATED): Set to zero.
...
...
gcc/doc/invoke.texi
View file @
8b3b26f7
...
...
@@ -6825,13 +6825,16 @@ the call writes the terminating NUL into @code{a[4]}, the copies overlap and
the
call
is
diagnosed
.
@
smallexample
struct
foo
void
foo
(
void
)
@{
char
a
[]
=
"abcd1234"
;
strcpy
(
a
,
a
+
4
);
@};
&
hellip
;
@}
@
end
smallexample
The
@
option
{-
Wrestrict
}
is
included
in
@
option
{-
Wall
}.
The
@
option
{-
Wrestrict
}
option
detects
some
instances
of
simple
overlap
even
without
optimization
but
works
best
at
@
option
{-
O2
}.
It
is
included
in
@
option
{-
Wall
}.
@
item
-
Wnested
-
externs
@
r
{(
C
and
Objective
-
C
only
)}
@
opindex
Wnested
-
externs
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