PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / interrupt-bnd-err-2.c
blob641ca637f8c82fd5f0dc0a71f9f44e9b054710df
1 /* { dg-do compile { target { ! x32 } } } */
2 /* { dg-options "-O2 -mgeneral-regs-only -mno-cld -mno-iamcu -mmpx" } */
4 void
5 __attribute__((no_caller_saved_registers))
6 fn (void *frame)
7 { /* { dg-message "MPX instructions aren't allowed in function with no_caller_saved_registers attribute" } */