| 1 |
/* Test whether all of the 64-bit function specific options are accepted |
| 2 |
without error. */ |
| 3 |
/* { dg-do compile { target { ! ia32 } } } */ |
| 4 |
|
| 5 |
#include "funcspec-56.inc" |
| 6 |
|
| 7 |
extern void test_uintr (void) __attribute__((__target__("uintr"))); |
| 8 |
extern void test_no_uintr (void) __attribute__((__target__("no-uintr"))); |
| 9 |
extern void test_arch_foo (void) __attribute__((__target__("arch=foo"))); /* { dg-error "bad value" } */ |
| 10 |
|
| 11 |
extern void test_tune_foo (void) __attribute__((__target__("tune=foo"))); /* { dg-error "bad value" } */ |