From: Martin Liska Date: Thu, 25 Nov 2021 11:13:59 +0000 (+0100) Subject: docs: Add missing @option keyword. X-Git-Tag: basepoints/gcc-13~2797 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1167d4890f7aba2bc173a4f4abb10d86e306864c;p=thirdparty%2Fgcc.git docs: Add missing @option keyword. gcc/ChangeLog: * doc/invoke.texi: Use @option for -Wuninitialized. --- diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index d0ac59768b9d..3bddfbaae6a3 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.