[Bug middle-end/81329] Missing -Wmaybe-uninitialized warning
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 8 00:47:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81329
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |manu at gcc dot gnu.org
Resolution|--- |DUPLICATE
--- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
foo is assumed initialized to 1 by CCP and the whole "atoi(argv[1]) != 0"
branch is optimized away. -O0 does not warn because initialization is
conditional.
*** This bug has been marked as a duplicate of bug 18501 ***
More information about the Gcc-bugs
mailing list