PR target/83368
[official-gcc.git] / gcc / testsuite / c-c++-common / pr82112.c
blob724d74cb33d4d85709c7c9d404c1a19e9a75084d
1 /* PR target/82112 */
2 /* { dg-do compile } */
4 int c[10], d[10], e[10], f[10], g[10], h[10], i[10], j[10], k[10], l[10];
6 void
7 foo (void)
9 __atomic_load (c, d, __ATOMIC_ACQUIRE);
10 __atomic_store (e, f, __ATOMIC_SEQ_CST);
11 __atomic_exchange (g, h, i, __ATOMIC_RELAXED);
12 __atomic_compare_exchange (j, k, l, 1, __ATOMIC_RELAXED, __ATOMIC_RELAXED);