OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [sh/] [sh2a-resbank.c] - Blame information for rev 325

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 325 jeremybenn
/* Test for resbank attribute.  */
2
/* { dg-do assemble {target sh*-*-*}} */
3
/* { dg-skip-if "" { "sh*-*-*" } "*" "-m2a -m2a-nofpu -m2a-single -m2a-single-only" } */
4
/* { dg-final { scan-assembler "resbank" } } */
5
 
6
extern void bar(void);
7
 
8
void foo(void) __attribute__((interrupt_handler, resbank));
9
void foo(void)
10
{
11
  bar();
12
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.