https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100953
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |rguenth at gcc dot gnu.org Last reconfirmed| |2021-06-08 Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Obviously "just for writes" is nonsense, but what's missing is the ability to add a (use "memory"), which maybe just means allowing to specify "memory" as use? That would prevent moving stores across such asm() but it would not cause "pointless reloading of globals".