1 /* Verify that the delay slot is not stuffed with register pop insns for
2 interrupt handler function returns on SH1* and SH2* targets, where the
3 rte insn uses the stack pointer. */
4 /* { dg-do compile } */
5 /* { dg-options "-O1" } */
6 /* { dg-skip-if "" { "sh*-*-*" } { "*" } { "-m1*" "-m2*" } } */
7 /* { dg-final { scan-assembler-times "nop" 1 } } */
9 int test00 (int a
, int b
);
11 int __attribute__ ((interrupt_handler
))
12 test01 (int a
, int b
, int c
, int d
)
14 return test00 (a
, b
) + c
;