https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108370
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- _10 = _9 >> 1; _11 = (bool) _10; if (_11 != 0) Should just be optimized to: _t = _9 & 1 if (_t != 0) Let me add that to match.
pinskia at gcc dot gnu.org via Gcc-bugs Sat, 16 Sep 2023 16:16:37 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108370
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- _10 = _9 >> 1; _11 = (bool) _10; if (_11 != 0) Should just be optimized to: _t = _9 & 1 if (_t != 0) Let me add that to match.