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
8c8d3b4c
Commit
8c8d3b4c
authored
Dec 07, 2014
by
Jonathan Wakely
Committed by
Jonathan Wakely
Dec 07, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* doc/invoke.texi (Warning Options): Fix spelling and grammar.
From-SVN: r218461
parent
4cbc054e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
10 deletions
+17
-10
gcc/ChangeLog
+4
-0
gcc/doc/invoke.texi
+13
-10
No files found.
gcc/ChangeLog
View file @
8c8d3b4c
2014
-
12
-
07
Jonathan
Wakely
<
jwakely
@
redhat
.
com
>
*
doc
/
invoke
.
texi
(
Warning
Options
):
Fix
spelling
and
grammar
.
2014
-
12
-
06
James
Greenhalgh
<
james
.
greenhalgh
@
arm
.
com
>
2014
-
12
-
06
James
Greenhalgh
<
james
.
greenhalgh
@
arm
.
com
>
Sebastian
Pop
<
s
.
pop
@
samsung
.
com
>
Sebastian
Pop
<
s
.
pop
@
samsung
.
com
>
Brian
Rzycki
<
b
.
rzycki
@
samsung
.
com
>
Brian
Rzycki
<
b
.
rzycki
@
samsung
.
com
>
gcc/doc/invoke.texi
View file @
8c8d3b4c
...
@@ -4240,20 +4240,22 @@ appropriate may not be detected.
...
@@ -4240,20 +4240,22 @@ appropriate may not be detected.
@opindex Wno-suggest-final-types
@opindex Wno-suggest-final-types
@opindex Wsuggest-final-types
@opindex Wsuggest-final-types
Warn about types with virtual methods where code quality would be improved
Warn about types with virtual methods where code quality would be improved
if the type was declared with C++11 final specifier, or, if possible,
if the type was declared with the C++11 final specifier, or, if possible,
declared in anonymous namespace. This allows GCC to devritualize more aggressively
declared in an anonymous namespace. This allows GCC to more aggressively
the polymorphic calls. This warning is more effective with link time optimization,
devirtualize the polymorphic calls. This warning is more effective with link
where the information about the class hiearchy graph is more complete.
time optimization, where the information about the class hierarchy graph is
more complete.
@item -Wsuggest-final-methods
@item -Wsuggest-final-methods
@opindex Wno-suggest-final-methods
@opindex Wno-suggest-final-methods
@opindex Wsuggest-final-methods
@opindex Wsuggest-final-methods
Warn about virtual methods where code quality would be improved if the method
Warn about virtual methods where code quality would be improved if the method
was declared with C++11 final specifier, or, if possible, its type was declared
was declared with the C++11 final specifier, or, if possible, its type was
in the anonymous namespace or with final specifier. This warning is more
declared in an anonymous namespace or with the final specifier. This warning is
effective with link time optimization, where the information about the class
more effective with link time optimization, where the information about the
hiearchy graph is more complete. It is recommended to first consider suggestins
class hierarchy graph is more complete. It is recommended to first consider
of @option{-Wsuggest-final-types} and then rebuild with new annotations.
suggestions of @option{-Wsuggest-final-types} and then rebuild with new
annotations.
@item -Warray-bounds
@item -Warray-bounds
@opindex Wno-array-bounds
@opindex Wno-array-bounds
...
@@ -4288,7 +4290,8 @@ can be used to suppress such a warning.
...
@@ -4288,7 +4290,8 @@ can be used to suppress such a warning.
@opindex Wincompatible-pointer-types
@opindex Wincompatible-pointer-types
Do not warn when there is a conversion between pointers that have incompatible
Do not warn when there is a conversion between pointers that have incompatible
types. This warning is for cases not covered by @option{-Wno-pointer-sign},
types. This warning is for cases not covered by @option{-Wno-pointer-sign},
which warns for pointer argument passing or assignment with different signedness
which warns for pointer argument passing or assignment with different
signedness.
@item -Wno-int-conversion @r{(C and Objective-C only)}
@item -Wno-int-conversion @r{(C and Objective-C only)}
@opindex Wno-int-conversion
@opindex Wno-int-conversion
...
...
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