| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O2 -mno-serialize" } */ |
| 3 |
|
| 4 |
#include <x86intrin.h> |
| 5 |
|
| 6 |
__attribute__ ((target("general-regs-only"))) |
| 7 |
void |
| 8 |
foo1 (void) |
| 9 |
{ |
| 10 |
_serialize (); |
| 11 |
} |
| 12 |
|
| 13 |
/* { dg-error "target specific option mismatch" "" { target *-*-* } 0 } */ |