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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [graphite/] [run-id-3.c] - Blame information for rev 301

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

Line No. Rev Author Line
1 298 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.