https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111798
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2023-10-16 00:00:00 |2025-2-28 CC| |aoliva at gcc dot gnu.org --- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- So even after the recent ifcombine work we still produce during early folding: if (x.j != sK.j || ((BIT_FIELD_REF <x, 8, 0> ^ BIT_FIELD_REF <sK, 8, 0>) & 64) != 0) { abort (); } and ifcombine does not optimize this further. Disabling optimize_bit_field_compare optimizes this fully even before ifcombine has a chance to perform the same optimization.