https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82958
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 Summary|uninitialized used warning |uninitialized used warning |missed when variable is |missed (loop |both in function argument |representation, do-while) |and return value within a | |loop | --- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- To detect uninitialized values within a loop, you need at least -O1, even if at least one iteration of the loop is always executed. *** This bug has been marked as a duplicate of bug 54554 ***