https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62062
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Your inline asm is broken. This sounds like a missing partial store not being optimized. Not something we do right now. Refernces are pointers really, syntax hides the semantics.