aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr27266.c
blob: 8735780c7764ef10b16b94d81b72c18bab92318d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR target/27266.
   The testcase below used to trigger an ICE.  */

/* { dg-do compile } */
/* { dg-require-effective-target ia32 } */
/* { dg-options "-march=pentium" } */

signed long long sll;

void
foo (void)
{
  __sync_fetch_and_add (&sll, 1);
}