https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116997
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Last reconfirmed| |2024-10-07
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>I was also surprised to see that the front-end already transforms:
'if (GlobS.f2 != 3)' into '(BIT_FIELD_REF <GlobS, 32, 32> & 4292870144) !=
6291456'
That is from fold. Specifically optimize_bit_field_compare .