public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-5516] docs: Add missing @option keyword. Date: Thu, 25 Nov 2021 11:15:40 +0000 (GMT) [thread overview] Message-ID: <20211125111540.667AD3857C60@sourceware.org> (raw) 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.
reply other threads:[~2021-11-25 11:15 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20211125111540.667AD3857C60@sourceware.org \ --to=marxin@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).