repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
gcc.dg
/
graphite
/
pr42530.c
blob
c0fa299ce9729a0f41c2dc7ebda9e29c38dab6df
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
}