https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106076
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2022-06-24 Status|UNCONFIRMED |NEW Keywords| |missed-optimization --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed. that's fold-const.c optimize_bit_field_compare that doesn't work on GIMPLE (after inlining). The fold-const.c part is also premature so moving it to GIMPLE would be appreciated.