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 (); }