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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20040220-1.c] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
/* 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.