aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin Sebor <msebor@gcc.gnu.org>2018-04-08 10:14:31 -0600
committerMartin Sebor <msebor@gcc.gnu.org>2018-04-08 10:14:31 -0600
commitde8a29bd84343e659e1d15583a6071a59b36fbd3 (patch)
tree3e3b9fba0c1f6cd606729ba5627a99411c5e5aef /gcc
parent8b9322f0a56fc6785e0165bb99619920a67cca09 (diff)
downloadgcc-de8a29bd84343e659e1d15583a6071a59b36fbd3.zip
gcc-de8a29bd84343e659e1d15583a6071a59b36fbd3.tar.gz
gcc-de8a29bd84343e659e1d15583a6071a59b36fbd3.tar.bz2
invoke.texi (-Wrestrict, [...]): Tweak text.
gcc/ChangeLog: * invoke.texi (-Wrestrict, -fprintf-return-value): Tweak text. From-SVN: r259224
Diffstat (limited to 'gcc')
-rw-r--r--gcc/doc/invoke.texi12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index bb52f55..52ba3d4 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -6829,12 +6829,12 @@ void foo (void)
@{
char a[] = "abcd1234";
strcpy (a, a + 4);
- &hellip;
+ @dots{}
@}
@end smallexample
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}.
+even without optimization but works best at @option{-O2} and above. It
+is included in @option{-Wall}.
@item -Wnested-externs @r{(C and Objective-C only)}
@opindex Wnested-externs
@@ -9043,9 +9043,9 @@ if (snprintf (buf, "%08x", i) >= sizeof buf)
@end smallexample
The @option{-fprintf-return-value} option relies on other optimizations
-and yields best results with @option{-O2}. It works in tandem with the
-@option{-Wformat-overflow} and @option{-Wformat-truncation} options.
-The @option{-fprintf-return-value} option is enabled by default.
+and yields best results with @option{-O2} and above. It works in tandem
+with the @option{-Wformat-overflow} and @option{-Wformat-truncation}
+options. The @option{-fprintf-return-value} option is enabled by default.
@item -fno-peephole
@itemx -fno-peephole2