Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / pr61756.c
blob4ca90448f190181d988f11c5c79e5332bbd73334
1 /* PR target/61756 */
3 /* { dg-do compile } */
4 /* { dg-options "-O2" } */
6 #include <stdatomic.h>
8 static volatile atomic_flag guard = ATOMIC_FLAG_INIT;
10 void
11 try_atomic_flag_test_and_set (void)
13 atomic_flag_test_and_set (&guard);