gcc/testsuite/gcc.target/msp430/isr-push-pop-isr-430x.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-skip-if "" { *-*-* } { "-mcpu=msp430" } { "" } } */ |
| 3 | /* { dg-final { scan-assembler "PUSHM.*#5" } } */ |
| 4 | /* { dg-final { scan-assembler-not "PUSHM.*#12" } } */ |
| 5 | |
| 6 | void __attribute__((noinline)) callee (void); |
| 7 | |
| 8 | void __attribute__((interrupt)) |
| 9 | isr (void) |
| 10 | { |
| 11 | callee(); |
| 12 | } |