Imported Upstream version 4.8.1
[platform/upstream/gcc48.git] / gcc / testsuite / gcc.target / cris / sync-4s.c
1 /* Check that we don't get alignment-checking code, short.  */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -Dtype=short -mno-trap-unaligned-atomic" } */
4 /* { dg-additional-options "-mno-unaligned-atomic-may-use-library" { target cris*-*-linux* } } */
5 /* { dg-final { scan-assembler-not "\tbreak\[ \t\]" } } */
6 /* { dg-final { scan-assembler-not "\tbtstq\[ \t\]\[^5\]" } } */
7 /* { dg-final { scan-assembler-not "\tand" } } */
8 /* { dg-final { scan-assembler-not "\t\[jb\]sr" } } */
9 #include "sync-1.c"