summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/interrupt-mmx-err-2.c
blob: 3e9f70c389ed94cf043337bad83a277751c8297a (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile } */
/* { dg-options "-O2 -mgeneral-regs-only -mmmx -mno-cld -mno-iamcu" } */

void
__attribute__((no_caller_saved_registers))
fn1 (void)
{ /* { dg-message "MMX/3Dnow instructions aren't allowed in function with no_caller_saved_registers attribute" } */
}