blob: ef50498870153cf7124ab0acc975a3261efcec4d [file] [log] [blame]
/* Verify that arg regs used as temporaries get saved. */
/* { dg-do compile } */
/* { dg-options "" } */
void __attribute__ ((interrupt))
foo2 (void)
{
extern volatile int INTERRUPT_FLAG;
INTERRUPT_FLAG = 0;
extern volatile int COUNTER;
COUNTER++;
}
/* { dg-final { scan-assembler-times "s\[wd\]\ta\[0-7\],\[0-9\]+\\(sp\\)" 2 } } */