1 /* PR middle-end/52177 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-O -fno-tree-ccp" } */ 4 5 int *s; 6 7 static inline int foo()8foo () 9 { 10 return sizeof (int); 11 } 12 13 int bar()14bar () 15 { 16 return __atomic_always_lock_free (foo (), s); 17 } 18 19 int baz()20baz () 21 { 22 return __atomic_is_lock_free (foo (), s); 23 } 24