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
testsuite: Revert to the original version of pr100056.c
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
graphite
/
pr87931.c
blob
9ef8610ffa67794b7b4652cfbc1b48413e4a5b86
1
/* { dg-do compile } */
2
/* { dg-options "-O3 -fno-tree-copy-prop -fgraphite-identity" } */
3
4
#define N 40
5
#define M 128
6
float
in
[
N
+
M
];
7
float
coeff
[
M
];
8
float
fir_out
[
N
];
9
10
void
fir
()
11
{
12
int
i
,
j
,
k
;
13
float
diff
;
14
15
for
(
i
=
0
;
i
<
N
;
i
++) {
16
diff
=
0
;
17
for
(
j
=
0
;
j
<
M
;
j
++) {
18
diff
+=
in
[
j
+
i
]*
coeff
[
j
];
19
}
20
fir_out
[
i
] =
diff
;
21
}
22
}