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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [graphite/] [scop-4.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
void bar ();
2
 
3
int toto()
4
{
5
  int i, j, k;
6
  int a[100][100];
7
  int b[100];
8
 
9
  for (i = 1; i < 100; i++)
10
    {
11
      for (j = 1; j < 80; j++)
12
        a[j][i] = a[j+1][2*i-1*j] + 12;
13
 
14
      b[i] = b[i-1] + 10;
15
 
16
      for (j = 1; j < 60; j++)
17
        a[j][i] = a[j+1][i-1] + 8;
18
 
19
      bar ();
20
 
21
      if (i == 23)
22
        b[i] = a[i-1][i] + 6;
23
    }
24
 
25
  return a[3][5] + b[1];
26
}
27
 
28
/* { dg-final { scan-tree-dump-times "number of SCoPs: 2" 1 "graphite"} } */
29
/* { dg-final { cleanup-tree-dump "graphite" } } */

powered by: WebSVN 2.1.0

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