Commit de8a29bd by Martin Sebor

invoke.texi (-Wrestrict, [...]): Tweak text.

gcc/ChangeLog:

	* invoke.texi (-Wrestrict, -fprintf-return-value): Tweak text.

From-SVN: r259224
parent 8b9322f0
...@@ -6829,12 +6829,12 @@ void foo (void) ...@@ -6829,12 +6829,12 @@ void foo (void)
@{ @{
char a[] = "abcd1234"; char a[] = "abcd1234";
strcpy (a, a + 4); strcpy (a, a + 4);
… @dots{}
@} @}
@end smallexample @end smallexample
The @option{-Wrestrict} option detects some instances of simple overlap The @option{-Wrestrict} option detects some instances of simple overlap
even without optimization but works best at @option{-O2}. It is included even without optimization but works best at @option{-O2} and above. It
in @option{-Wall}. is included in @option{-Wall}.
@item -Wnested-externs @r{(C and Objective-C only)} @item -Wnested-externs @r{(C and Objective-C only)}
@opindex Wnested-externs @opindex Wnested-externs
...@@ -9043,9 +9043,9 @@ if (snprintf (buf, "%08x", i) >= sizeof buf) ...@@ -9043,9 +9043,9 @@ if (snprintf (buf, "%08x", i) >= sizeof buf)
@end smallexample @end smallexample
The @option{-fprintf-return-value} option relies on other optimizations The @option{-fprintf-return-value} option relies on other optimizations
and yields best results with @option{-O2}. It works in tandem with the and yields best results with @option{-O2} and above. It works in tandem
@option{-Wformat-overflow} and @option{-Wformat-truncation} options. with the @option{-Wformat-overflow} and @option{-Wformat-truncation}
The @option{-fprintf-return-value} option is enabled by default. options. The @option{-fprintf-return-value} option is enabled by default.
@item -fno-peephole @item -fno-peephole
@itemx -fno-peephole2 @itemx -fno-peephole2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment