gcc/testsuite/gcc.c-torture/compile/pr82096.c
raw| 1 | /* { dg-require-effective-target arm_arch_v5t_thumb_ok { target arm*-*-* } } */ |
| 2 | /* { dg-skip-if "Do not combine float-abi values" { arm*-*-* } { "-mfloat-abi=*" } { "-mfloat-abi=soft" } } */ |
| 3 | /* { dg-additional-options "-march=armv5t -mthumb -mfloat-abi=soft" { target arm*-*-* } } */ |
| 4 | |
| 5 | static long long AL[24]; |
| 6 | |
| 7 | int |
| 8 | check_ok (void) |
| 9 | { |
| 10 | return (__sync_bool_compare_and_swap (AL+1, 0x200000003ll, 0x1234567890ll)); |
| 11 | } |