repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[gcc/]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
graphite
/
pr46924.c
blob
5788c2c008f8629c512bcfb39133d430348acb56
1
/* { dg-options "-O -fgraphite-identity -ffast-math -fno-tree-loop-im" } */
2
3
struct
S
4
{
5
int
n
;
6
float
*
a
;
7
};
8
9
float
foo
(
struct
S
*
s
)
10
{
11
float
f
=
0
,
g
=
0
;
12
int
i
;
13
for
(
i
=
0
;
i
<
s
->
n
;
i
++)
14
f
+=
s
->
a
[
i
];
15
for
(
i
=
0
;
i
<
s
->
n
;
i
++)
16
;
17
return
f
;
18
}