summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr27266.c
blob: 73e7c596f32e2c5c1565e26c1149d4a7d03d9d47 (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 ilp32 } */
/* { dg-options "-march=pentium" } */

signed long long sll;

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