* gcc.target/i386/pr70021.c: Add -mtune=skylake.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / interrupt-387-err-1.c
blob3fbdc881dda5bbd71d536de953c8a7b484ef8869
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mgeneral-regs-only -mno-cld -mno-iamcu -m80387" } */
4 typedef unsigned int uword_t __attribute__ ((mode (__word__)));
6 void
7 __attribute__((interrupt))
8 fn1 (void *frame, uword_t error)
9 { /* { dg-message "80387 instructions aren't allowed in exception service routine" } */
12 void
13 __attribute__((interrupt))
14 fn2 (void *frame)
15 { /* { dg-message "80387 instructions aren't allowed in interrupt service routine" } */