PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / cris / sync-2i.c
blobd491d3c08696fb2e83aa05aeb1dc4596c8f927ad
1 /* Check that we get the expected alignment-checking code, op variant, int. */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -Dop -Dtype=int" } */
4 /* { dg-additional-options "-mtrap-using-break8 -mtrap-unaligned-atomic" { target cris-*-elf } } */
5 /* { dg-additional-options "-mno-unaligned-atomic-may-use-library" { target cris*-*-linux* } } */
6 /* { dg-final { scan-assembler "\tbreak 8" } } */
7 /* { dg-final { scan-assembler "\tbtstq \\(2-1\\)," } } */
8 /* { dg-final { scan-assembler-not "\tand" } } */
9 /* { dg-final { scan-assembler-not "\t\[jb\]sr" } } */
10 #include "sync-1.c"