https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108139
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Folding statement: if (a.3_5 != 0) Folding predicate a.3_5 != 0 to 1 Folded into: if (1 != 0) I don't see how that could be possible. There is some issue coming from the (not used on this path) uninitialized variable c too.