gcc/testsuite/g++.dg/tree-ssa/pr79159.C
raw| 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 |