2018-02-09 Sebastian Perta <sebastian.perta@renesas.com>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / di-longlong64-sync-withhelpers.c
blobc2959165b36c8838e867d5de0d06cb6deb14a605
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_arch_v5_ok } */
3 /* { dg-options "-std=gnu99" } */
4 /* { dg-add-options arm_arch_v5 } */
5 /* { dg-message "note: '__sync_fetch_and_nand' changed semantics in GCC 4.4" "fetch_and_nand" { target *-*-* } 0 } */
6 /* { dg-message "note: '__sync_nand_and_fetch' changed semantics in GCC 4.4" "nand_and_fetch" { target *-*-* } 0 } */
7 /* { dg-message "file included" "In file included" { target *-*-* } 0 } */
9 #include "../../gcc.dg/di-longlong64-sync-1.c"
11 /* On an old ARM we have no ldrexd or strexd so we have to use helpers. */
12 /* { dg-final { scan-assembler-not "ldrexd" } } */
13 /* { dg-final { scan-assembler-not "strexd" } } */
14 /* { dg-final { scan-assembler "__sync_" } } */