| 1 |
int leaf_func () __attribute__ ((interrupt_handler)); |
| 2 |
volatile int intr_occurred; |
| 3 |
|
| 4 |
int leaf_func () |
| 5 |
{ |
| 6 |
|
| 7 |
/* { dg-final { scan-assembler "rtid\tr(\[0-9]\|\[1-2]\[0-9]\|3\[0-1]),0" } } */ |
| 8 |
/* { dg-final { scan-assembler-not "rtsd" } } */ |
| 9 |
intr_occurred += 1; |
| 10 |
} |