OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr51796.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* PR bootstrap/51796 */
2
/* { dg-do compile } */
3
/* { dg-options "-Os -fno-omit-frame-pointer -fno-tree-dominator-opts -fno-tree-fre -fno-tree-pre" } */
4
 
5
typedef void (*entry_func) (void) __attribute__ ((noreturn));
6
extern entry_func entry_addr;
7
static void bsd_boot_entry (void)
8
{
9
  stop ();
10
}
11
void bsd_boot (void)
12
{
13
  entry_addr = (entry_func) bsd_boot_entry;
14
  (*entry_addr) ();
15
}

powered by: WebSVN 2.1.0

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