Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / interrupt-18.c
blob9f21a23b3377cb7862b4d8f2348af0721d7414cc
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mgeneral-regs-only -mno-cld -Wall -g" } */
4 void
5 __attribute__((interrupt))
6 fn (void *frame)
10 /* { dg-final { scan-assembler-not "add(l|q)\[\\t \]*\\$\[0-9\]*,\[\\t \]*%\[re\]?sp" } } */
11 /* { dg-final { scan-assembler-times "iret" 1 { target ia32 } } } */
12 /* { dg-final { scan-assembler-times "iretq" 1 { target { ! ia32 } } } } */
13 /* { dg-final { scan-assembler-not "\tcld" } } */