summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr66047.c
blob: 60eefe4d06b65e3fb1f3c85ddc092a4e670e69b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */
/* { dg-options "-O2 -mno-sse" } */
/* { dg-require-effective-target ia32 } */
__attribute__((target ("sse2"), noinline)) static void
foo (void)
{
  asm volatile ("" : : : "memory");
}

void
bar (void)
{
  foo ();
}