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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #4)
> I have a fix for -O1 (but not at -O2).

The -O2 warning needs a change in the uninitialized warning code. I have an
idea on how to handle it. basically follows a cast if it is a cast to bool from
an int and the int has a known boolean range (aka [0,1]).

Reply via email to