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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr21840.c] - Blame information for rev 717

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
void fn_show_state(void);
2
typedef void (*fn_handler_fn)(void);
3
static fn_handler_fn fn_handler[1];
4
 
5
void k_spec(unsigned char value)
6
{
7
  void *func = fn_handler[value];
8
  if (func == fn_show_state )
9
    return;
10
  fn_handler[value]();
11
}

powered by: WebSVN 2.1.0

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