gcc/testsuite/gcc.target/i386/pr101395-2.c
raw| 1 | /* { dg-do run } */ |
| 2 | /* { dg-options "-O2 -march=native" } */ |
| 3 | |
| 4 | int |
| 5 | main () |
| 6 | { |
| 7 | if (__builtin_cpu_supports ("uintr")) |
| 8 | { |
| 9 | #ifdef __x86_64__ |
| 10 | # ifndef __UINTR__ |
| 11 | __builtin_abort (); |
| 12 | # endif |
| 13 | #else |
| 14 | # ifdef __UINTR__ |
| 15 | __builtin_abort (); |
| 16 | # endif |
| 17 | #endif |
| 18 | return 0; |
| 19 | } |
| 20 | |
| 21 | return 0; |
| 22 | } |