blob: 641ca637f8c82fd5f0dc0a71f9f44e9b054710df (
plain)
1
2
3
4
5
6
7
8
|
/* { dg-do compile { target { ! x32 } } } */
/* { dg-options "-O2 -mgeneral-regs-only -mno-cld -mno-iamcu -mmpx" } */
void
__attribute__((no_caller_saved_registers))
fn (void *frame)
{ /* { dg-message "MPX instructions aren't allowed in function with no_caller_saved_registers attribute" } */
}
|