1 /* Verify that the delay slot is stuffed with register pop insns on SH3* and
2 SH4* targets, where the stack pointer is not used by the rte insn. If
3 everything works out, we won't see a nop insn. */
4 /* { dg-do compile { target { banked_r0r7_isr } } } */
5 /* { dg-options "-O1" } */
6 /* { dg-final { scan-assembler-not "rte\n\tnop" } } */
8 int test00 (int a
, int b
);
10 int __attribute__ ((interrupt_handler
))
11 test01 (int a
, int b
, int c
, int d
)
13 return test00 (a
, b
) + c
;