☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.target
/
arc
/
interrupt-13.c
☽
☼
gcc/testsuite/gcc.target/arc/interrupt-13.c
code
plain
raw
1
/* { dg-options "-O2" } */
2
3
extern int foo (int *);
4
5
void __attribute__((interrupt("ilink")))
6
irq (void)
7
{
8
struct {
9
int x0;
10
int x1;
11
} a = {1 ,2};
12
foo ((int *)&a);
13
}
14
15
/* { dg-final { scan-assembler "add_s\\s+sp,sp,8.*pop_s\\s+r0" } } */