aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr46254.c
blob: 512287a5b390f4ed0ed83f2c0b0b96c75b269366 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-require-effective-target lp64 } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-O2 -mcx16 -fpic -mcmodel=large" } */

__int128 i;

void test ()
{
  __sync_val_compare_and_swap (&i, i, i);
}