+2020-04-13 Martin Sebor <msebor@redhat.com>
+
+ * doc/extend.texi (-Wall): Mention -Wformat-overflow and
+ -Wformat-truncation. Move -Wzero-length-bounds last.
+ (-Wrestrict): Document positive form of option enabled by -Wall.
+
2020-04-13 Zachary Spytz <zspytz@gmail.com>
* doc/extend.texi: Add realloc to list of built-in functions
-Wenum-compare @r{(in C/ObjC; this is on by default in C++)} @gol
-Wenum-conversion @r{in C/ObjC;} @gol
-Wformat @gol
+-Wformat-overflow @gol
+-Wformat-truncation @gol
-Wint-in-bool-context @gol
-Wimplicit @r{(C and Objective-C only)} @gol
-Wimplicit-int @r{(C and Objective-C only)} @gol
-Wimplicit-function-declaration @r{(C and Objective-C only)} @gol
-Winit-self @r{(only for C++)} @gol
--Wzero-length-bounds @gol
-Wlogical-not-parentheses @gol
-Wmain @r{(only for C/ObjC and unless} @option{-ffreestanding}@r{)} @gol
-Wmaybe-uninitialized @gol
-Wunused-label @gol
-Wunused-value @gol
-Wunused-variable @gol
--Wvolatile-register-var}
+-Wvolatile-register-var @gol
+-Wzero-length-bounds}
Note that some warning flags are not implied by @option{-Wall}. Some of
them warn about constructions that users generally do not consider
Warn if anything is declared more than once in the same scope, even in
cases where multiple declaration is valid and changes nothing.
-@item -Wno-restrict
+@item -Wrestrict
@opindex Wrestrict
@opindex Wno-restrict
Warn when an object referenced by a @code{restrict}-qualified parameter