[Bug c/78203] missing warning on return of unitialized variable

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 4 08:17:00 GMT 2016


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
There is a duplicate for this, we perform optimistic constant propagation which
makes i == 1 and eliminates the conditional uninitialized use very early.


More information about the Gcc-bugs mailing list