http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54554
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2012-09-12 Ever Confirmed|0 |1 --- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-09-12 09:47:16 UTC --- By means of the assignment i becomes an induction variable and at -O0 we do not warn for "maybe used uninitialized". With optimization the use is constant-propagated out. Thus, this is a known issue, not really the same as PR52523