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-pr47654.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
/* { dg-options "-O -floop-strip-mine" } */
2
 
3
int a[128][40];
4
 
5
void __attribute__ ((noinline, noclone))
6
foo (void)
7
{
8
  int i, j;
9
  for (i = 0; i < 40; i++)
10
    for (j = 0; j < 128; j++)
11
      a[j][i] = 4;
12
}
13
 
14
int
15
main ()
16
{
17
  int i, j;
18
  foo ();
19
  for (i = 0; i < 40; i++)
20
    for (j = 0; j < 128; j++)
21
      if (a[j][i] != 4)
22
        __builtin_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.