https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78203
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- There is a duplicate for this, we perform optimistic constant propagation which makes i == 1 and eliminates the conditional uninitialized use very early.