https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105519
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- There is a tempory because of r and such. asm volatile("" : "+m,r"(*(Tp*)&value) : : "memory"); That is r requires a copy and such.