public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-5516] docs: Add missing @option keyword.
@ 2021-11-25 11:15 Martin Liska
0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2021-11-25 11:15 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:1167d4890f7aba2bc173a4f4abb10d86e306864c
commit r12-5516-g1167d4890f7aba2bc173a4f4abb10d86e306864c
Author: Martin Liska <mliska@suse.cz>
Date: Thu Nov 25 12:13:59 2021 +0100
docs: Add missing @option keyword.
gcc/ChangeLog:
* doc/invoke.texi: Use @option for -Wuninitialized.
Diff:
---
gcc/doc/invoke.texi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index d0ac59768b9..3bddfbaae6a 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -12117,8 +12117,8 @@ Initialize automatic variables with either a pattern or with zeroes to increase
the security and predictability of a program by preventing uninitialized memory
disclosure and use.
GCC still considers an automatic variable that doesn't have an explicit
-initializer as uninitialized, -Wuninitialized will still report warning messages
-on such automatic variables.
+initializer as uninitialized, @option{-Wuninitialized} will still report
+warning messages on such automatic variables.
With this option, GCC will also initialize any padding of automatic variables
that have structure or union types to zeroes.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-25 11:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-25 11:15 [gcc r12-5516] docs: Add missing @option keyword Martin Liska
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).