diff options
author | Martin Liska <mliska@suse.cz> | 2021-11-25 12:13:59 +0100 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2021-11-25 12:15:20 +0100 |
commit | 1167d4890f7aba2bc173a4f4abb10d86e306864c (patch) | |
tree | a69570e651aaa8ca4d563ad7339b5332102566d0 /gcc | |
parent | d1c1919ef8a18eea9d5c1741f8c9adaabf5571f2 (diff) | |
download | gcc-1167d4890f7aba2bc173a4f4abb10d86e306864c.zip gcc-1167d4890f7aba2bc173a4f4abb10d86e306864c.tar.gz gcc-1167d4890f7aba2bc173a4f4abb10d86e306864c.tar.bz2 |
docs: Add missing @option keyword.
gcc/ChangeLog:
* doc/invoke.texi: Use @option for -Wuninitialized.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/doc/invoke.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index d0ac597..3bddfba 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. |