[Bug middle-end/80152] Not warning anymore about usage of uninitialized variables

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 22 16:46:00 GMT 2017


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

--- Comment #4 from Marc Glisse <glisse at gcc dot gnu.org> ---
(In reply to Sebastian Dröge from comment #3)
> But even after optimization, there would be the argc!=1 code path left,
> which uses the uninitialized foo.

No, the optimization sets foo to 1 always, and argc is not tested anymore.


More information about the Gcc-bugs mailing list