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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [graphite/] [run-id-3.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 jeremybenn
extern void abort (void);
2
 
3
__attribute__ ((noinline)) int
4
foo (int *zzz, unsigned int kk)
5
{
6
  int a, b, d;
7
 
8
  a = b = 0;
9
  for (d = 0; d < 1000; d++)
10
    {
11
      if (kk != 0)
12
        b = *zzz;
13
    }
14
 
15
  return b;
16
}
17
 
18
int
19
main (void)
20
{
21
  if (foo (0, 0) != 0)
22
    abort();
23
  return 0;
24
}

powered by: WebSVN 2.1.0

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