2008-01-25 Douglas Gregor <doug.gregor@gmail.com>
[official-gcc.git] / gcc / testsuite / gcc.dg / sync-3.c
blobbf8abb785de1f937c20036ca3dc630118779b453
1 /* { dg-do run } */
2 /* { dg-require-effective-target sync_char_short } */
3 /* { dg-options "-O2" } */
4 /* { dg-options "-march=i486 -O2" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
5 /* { dg-options "-mcpu=v9 -O2" { target sparc*-*-* } } */
7 /* Test functionality of the intrinsics for 'short' and 'char'. */
9 #define AI_ALIGN __attribute__((__aligned__ (4)))
10 #include "sync-2.c"