1 /* Check whether rte is generated for two ISRs. */ 2 /* { dg-do compile { target h8300-*-* } } */ 3 /* { dg-options "-O3" } */ 4 /* { dg-final { scan-assembler-times "rte" 2} } */ 5 6 extern void foo (void); 7 8 #pragma interrupt 9 void isr1(void)10isr1 (void) 11 { 12 foo (); 13 } 14 15 #pragma interrupt 16 void isr2(void)17isr2 (void) 18 { 19 foo (); 20 } 21