https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107833

--- Comment #4 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #3)
> > Isn't there an uninitialized read from "i" here?
> 
> Yes ...
> 
> >  At least on the second
> > time through the outer loop, if (a < h) is true since 1 < 0.
> > 
> > >         c = *f;
> > >       }
> > >     for (h = 0; h < 3; h++) {
> > >       if (d)
> > >         break;
> > 
> > d is nonzero so h will always be 0 in this function.
> 
> ... but as you correctly said, it's never executed as 'a < h' is always
> false.

Huh... me thinking 1 < 0 is true is a clear sign I need to go on vacation.

/me hides in shame

Reply via email to