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
1035527b
Commit
1035527b
authored
Apr 27, 2017
by
Jonathan Wakely
Committed by
Jonathan Wakely
Apr 27, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* doc/extend.texi (Object Size Checking): Improve grammar.
From-SVN: r247349
parent
8211c4a2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
gcc/ChangeLog
+4
-0
gcc/doc/extend.texi
+3
-3
No files found.
gcc/ChangeLog
View file @
1035527b
2017-04-27 Jonathan Wakely <jwakely@redhat.com>
* doc/extend.texi (Object Size Checking): Improve grammar.
2017-04-27 Richard Earnshaw <rearnsha@arm.com>
2017-04-27 Richard Earnshaw <rearnsha@arm.com>
PR target/80530
PR target/80530
...
...
gcc/doc/extend.texi
View file @
1035527b
...
@@ -10209,14 +10209,14 @@ assert (__builtin_object_size (q, 1) == sizeof (var.b));
...
@@ -10209,14 +10209,14 @@ assert (__builtin_object_size (q, 1) == sizeof (var.b));
There are built-in functions added for many common string operation
There are built-in functions added for many common string operation
functions, e.g., for @code{memcpy} @code{__builtin___memcpy_chk}
functions, e.g., for @code{memcpy} @code{__builtin___memcpy_chk}
built-in is provided. This built-in has an additional last argument,
built-in is provided. This built-in has an additional last argument,
which is the number of bytes remaining in object the @var{dest}
which is the number of bytes remaining in
the
object the @var{dest}
argument points to or @code{(size_t) -1} if the size is not known.
argument points to or @code{(size_t) -1} if the size is not known.
The built-in functions are optimized into the normal string functions
The built-in functions are optimized into the normal string functions
like @code{memcpy} if the last argument is @code{(size_t) -1} or if
like @code{memcpy} if the last argument is @code{(size_t) -1} or if
it is known at compile time that the destination object will not
it is known at compile time that the destination object will not
be overflow
n. If the compiler can determine at compile time
the
be overflow
ed. If the compiler can determine at compile time that
the
object will
be always overflown
, it issues a warning.
object will
always be overflowed
, it issues a warning.
The intended use can be e.g.@:
The intended use can be e.g.@:
...
...
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