1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mgeneral-regs-only -mno-cld -m80387 -mlong-double-80 -mno-iamcu" } */
3 
4 void
5 __attribute__((no_caller_saved_registers))
fn1(void)6 fn1 (void)
7 { /* { dg-message "80387 instructions aren't allowed in a function with the 'no_caller_saved_registers' attribute" } */
8 }
9