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