aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/sh/pr54602-3.c
blob: 5d6a75a70ae313908b42d54e8fa504ec5ab7ce55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Verify that the rte delay slot is not stuffed with register pop insns
   which touch the banked registers r0..r7 on SH3* and SH4* targets.  */
/* { dg-do compile }  */
/* { dg-options "-O1" } */
/* { dg-skip-if "" { "sh*-*-*" } { "*" } { "-m3*" "-m4*" } }  */
/* { dg-final { scan-assembler-times "nop" 1 } } */

int __attribute__ ((interrupt_handler))
test00 (int a, int b, int c, int d)
{
  return a + b;
}