URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [sh/] [sh2a-resbank.c] - Rev 691
Compare with Previous | Blame | View Log
/* Test for resbank attribute. */ /* { dg-do assemble {target sh*-*-*}} */ /* { dg-skip-if "" { "sh*-*-*" } "*" "-m2a -m2a-nofpu -m2a-single -m2a-single-only" } */ /* { dg-final { scan-assembler "resbank" } } */ extern void bar(void); void foo(void) __attribute__((interrupt_handler, resbank)); void foo(void) { bar(); }