2017-12-05 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / graphite / scop-dsyr2k.c
blob925ae3069031dec8959709ed83693340f2534963
1 /* { dg-require-effective-target size32plus } */
2 #define NMAX 3000
4 static double a[NMAX][NMAX], b[NMAX][NMAX], c[NMAX][NMAX];
6 void dsyr2k(int N) {
7 int i,j,k;
9 #pragma scop
10 for (i=0; i<N; i++) {
11 for (j=0; j<N; j++) {
12 for (k=j; k<N; k++) {
13 c[j][k] += a[i][j] * b[i][k] + b[i][j] * a[i][k];
17 #pragma endscop
20 /* { dg-final { scan-tree-dump-times "number of SCoPs: 1" 1 "graphite" { xfail *-*-* } } } */