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 ***