Debian Codegraph @

gcc/testsuite/gcc.target/sparc/cas64.c

raw
1 /* PR target/49660 */
2
3 /* { dg-do compile { target sparc*-*-solaris2.* } } */
4
5 #include <stdint.h>
6
7 extern int64_t *val, old, new;
8
9 int
10 cas64 (void)
11 {
12 return __sync_bool_compare_and_swap (val, old, new);
13 }
14
15 /* { dg-final { scan-assembler-not "compare_and_swap_8" } } */