URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [sh/] [sh2a-resbank.c] - Rev 826
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(); }