https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91225

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
           Keywords|diagnostic                  |documentation
             Status|NEW                         |RESOLVED

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---



Actually this is documented from
https://gcc.gnu.org/onlinedocs/gcc-13.2.0/gcc/Warning-Options.html#index-Wuninitialized:
If you want to warn about code that uses the uninitialized value of the
variable in its own initializer, use the -Winit-self option.


Which has been documented this way since -Wself-init was added back in
r0-52301-g3390f9c9bef0be .

So this is again folks not reading the documentation.

Reply via email to