https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48001
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WORKSFORME --- Comment #4 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- (In reply to jerome.borme from comment #3) > The initialization of sum_f has been forgotten, but no warning is issued, > although sum_f is used in the loop. I get in 6.0 even with -O1: test.c:12:3: error: ‘sum_f’ may be used uninitialized in this function [-Werror=maybe-uninitialized] so it seems this got fixed somehow. Please reopen if this is not the case.