Debian Codegraph @

gcc/testsuite/gcc.target/riscv/interrupt-3.c

raw
1 /* Verify t0 is saved before use. */
2 /* { dg-do compile } */
3 /* { dg-options "-fomit-frame-pointer" } */
4 /* { dg-skip-if "" { *-*-* } { "*" } { "-O0" } } */
5 void __attribute__ ((interrupt))
6 foo (void)
7 {
8 char array[4096];
9 }
10 /* { dg-final { scan-assembler "s\[wd\]\tt0" } } */