https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83285
Steve Ellcey <sje at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sje at gcc dot gnu.org --- Comment #2 from Steve Ellcey <sje at gcc dot gnu.org> --- This may be fixed on top-of-tree (though I don't know what change might have fixed it). If I build with ToT (8.0 prelease I see all three stores: Example from commoent #1 compiled with -O3: % more x.s .arch armv8-a .file "x.c" .text .align 2 .p2align 3,,7 .global _Z7seq_cstRiRSt6atomicIiE .type _Z7seq_cstRiRSt6atomicIiE, %function _Z7seq_cstRiRSt6atomicIiE: .LFB342: .cfi_startproc mov w2, 1 str w2, [x0] mov w2, 2 stlr w2, [x1] mov w1, 3 str w1, [x0] ret .cfi_endproc .LFE342: .size _Z7seq_cstRiRSt6atomicIiE, .-_Z7seq_cstRiRSt6atomicIiE .ident "GCC: (GNU) 8.0.0 20180105 (experimental)" .section .note.GNU-stack,"",@progbits