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
.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
tree-ssa
/
pr79159.C
blob
e15e1170c41e161ede55c8286c0d684ddb55d04e
1
/* { dg-do compile } */
2
/* { dg-options "-O3 -Wall" } */
3
4
void foo(float tmpCorr[9][9]);
5
float bar;
6
7
void finalDigits(int& n)
8
{
9
float tmpCorr[9][9] = {{0}};
10
11
foo(tmpCorr);
12
for (int i = 0; i < n; i++) {
13
for (int j = i+1; j < n; j++) {
14
bar = tmpCorr[i][j];
15
}
16
}
17
}
18