https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90841
--- Comment #1 from G. Steinmetz <gs...@t-online.de> --- Other variants may also involve : __atomic_store_n __atomic_exchange __atomic_exchange_n __atomic_compare_exchange Compiles smoothly with fixed size : $ cat z3.c int a[2]; void f() { __atomic_load (&a, &a, __ATOMIC_SEQ_CST); }