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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20040220-1.c] - Blame information for rev 688

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
/* PR 14194 */
2
 
3
int irqs;
4
 
5
static inline __attribute__((always_inline))
6
int kstat_irqs (void) {
7
  int i, sum = 0;
8
  for (i = 0; i < 1; i++)
9
    if (__builtin_expect(i, 0))
10
      sum += irqs;
11
  return sum;
12
}
13
 
14
int show_interrupts (void) {
15
  return kstat_irqs ();
16
}

powered by: WebSVN 2.1.0

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