https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35363
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED CC| |pinskia at gcc dot gnu.org Target Milestone|--- |8.0 --- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Store merging fixes this for GCC 8 so closing as fixed: _5 = MEM[(struct A *)&a]; _6 = _5 & 4261413056; _7 = _6 | 2074; MEM[(struct A *)&a] = _7; I Will have to make sure we don't regress when adding lowering.