Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / loop-interchange-11.c
blob2a1b340a07b748485447b189093a7678d686eb35
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -floop-interchange -fdump-tree-linterchange-details" } */
3 /* { dg-skip-if "too big data segment" { avr-*-* visium-*-* } } */
5 #define M 256
6 int a[M][M], b[M][M];
8 void
9 simple_reduc_1 (int n, int *p)
11 for (int j = 0; j < n; j++)
13 int sum = p[j];
14 for (int i = 0; i < n; i++)
16 sum = sum + b[i][j];
17 b[i][j] += a[i][j];
20 p[j] = sum;
23 /* { dg-final { scan-tree-dump-not "Loop_pair<outer:., inner:.> is interchanged" "linterchange" } } */