https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58243
Martin Jambor <jamborm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #1 from Martin Jambor <jamborm at gcc dot gnu.org> --- Store-merging now merges all the separate-byte setting. I have looked at optimized dumps with and without SRA (on x86_64-linux) and SRA never pessimizes the code but often helps to avoid the extra final copy. Not always, because that would (currently) require total scalarization which we do not do for bit-fields. So I am closing this as fixed.