https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71310
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- bit-field-lowering avoids this by lowering the store to a RMW of the DECL_BIT_FIELD_REPRESENTATIVE and the load to a read of it plus a bit extraction from the loaded word (so it ends up as a store after a load).