diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/m68k')
-rw-r--r-- | gcc/testsuite/gcc.target/m68k/interrupt_thread-2.c | 8 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/m68k/interrupt_thread-3.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/gcc/testsuite/gcc.target/m68k/interrupt_thread-2.c b/gcc/testsuite/gcc.target/m68k/interrupt_thread-2.c index 6f87c862fa6..1518bece55b 100644 --- a/gcc/testsuite/gcc.target/m68k/interrupt_thread-2.c +++ b/gcc/testsuite/gcc.target/m68k/interrupt_thread-2.c @@ -14,10 +14,10 @@ #define IH interrupt_handler #endif -extern void f1 (void) __attribute__((interrupt_handler, interrupt_handler)); /* { dg-error "error: multiple interrupt attributes not allowed" } */ +extern void f1 (void) __attribute__((interrupt_handler, interrupt_handler)); /* { dg-error "multiple interrupt attributes not allowed" } */ -extern void f2 (void) __attribute__((interrupt_handler, IH)); /* { dg-error "error: multiple interrupt attributes not allowed" } */ +extern void f2 (void) __attribute__((interrupt_handler, IH)); /* { dg-error "multiple interrupt attributes not allowed" } */ -extern void f3 (void) __attribute__((IH, interrupt_handler)); /* { dg-error "error: multiple interrupt attributes not allowed" } */ +extern void f3 (void) __attribute__((IH, interrupt_handler)); /* { dg-error "multiple interrupt attributes not allowed" } */ -extern void f4 (void) __attribute__((IH, IH)); /* { dg-error "error: multiple interrupt attributes not allowed" } */ +extern void f4 (void) __attribute__((IH, IH)); /* { dg-error "multiple interrupt attributes not allowed" } */ diff --git a/gcc/testsuite/gcc.target/m68k/interrupt_thread-3.c b/gcc/testsuite/gcc.target/m68k/interrupt_thread-3.c index cd2531eb5d7..be83edb5faf 100644 --- a/gcc/testsuite/gcc.target/m68k/interrupt_thread-3.c +++ b/gcc/testsuite/gcc.target/m68k/interrupt_thread-3.c @@ -4,4 +4,4 @@ /* Check that interrupt_thread is rejected on CPUs other than fido. */ -extern void foo (void) __attribute__((interrupt_thread)); /* { dg-error "error: interrupt_thread is available only on fido" } */ +extern void foo (void) __attribute__((interrupt_thread)); /* { dg-error "interrupt_thread is available only on fido" } */ |