OSDN Git Service

Backport from mainline
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / i386 / pr46254.c
1 /* { dg-do compile } */
2 /* { dg-require-effective-target lp64 } */
3 /* { dg-require-effective-target fpic } */
4 /* { dg-options "-O2 -mcx16 -fpic -mcmodel=large" } */
5
6 __int128 i;
7
8 void test ()
9 {
10   __sync_val_compare_and_swap (&i, i, i);
11 }