☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
graphite
/
pr42530.c
☽
☼
gcc/testsuite/gcc.dg/graphite/pr42530.c
code
plain
raw
1
/* { dg-options "-O2 -g -ffast-math -floop-parallelize-all" } */
2
3
int array[2][2];
4
5
void foo(int *a)
6
{
7
int i, j;
8
int sum, tmp = 0;
9
10
for (i=0; i<2; i++)
11
for (j=0; j<2; j++)
12
sum += array[i][j];
13
14
if (sum > 0) {
15
tmp = sum;
16
*a = tmp;
17
}
18
}