Debian Codegraph @

gcc/testsuite/gcc.target/arm/pr115188.c

raw
1 /* { dg-do assemble } */
2 /* { dg-require-effective-target arm_arch_v6m_ok }
3 /* { dg-options "-O2" } */
4 /* { dg-add-options arm_arch_v6m } */
5
6 void init (int *p, int n)
7 {
8 for (int i = 0; i < n; i++)
9 __atomic_store_4 (p + i, 0, __ATOMIC_RELAXED);
10 }