https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35306
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Target Milestone|--- |7.0 Status|NEW |RESOLVED --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Fixed in GCC 7 at least. Note there is an extra cast in the bla function but it does not matter for code gen reasons: _8 = (unsigned int) x_5(D); _9 = (unsigned int) y_6(D); _10 = _8 | _9; _11 = (unsigned int) a_4(D); _12 = _10 & _11; _13 = _12 != 0;