PR libfortran/64770 Segfault when trying to open existing file with status="new".
[official-gcc.git] / gcc / testsuite / gcc.dg / graphite / id-23.c
blob3b62d917f632dcbe6e647e21912fb5863f591dd0
1 void SubMtx_blockDiagonalInfo (int **);
2 double *ZV_entries (void);
3 void SubMtx_fillRowZV (int irow)
5 double *rowvec = ZV_entries ();
6 double *entries;
7 int ii, ipivot, jrow, kk, m;
8 int *pivotsizes;
10 SubMtx_blockDiagonalInfo (&pivotsizes);
12 for (jrow = ipivot = kk = 0; jrow <= irow; ipivot++)
14 m = pivotsizes[ipivot];
15 if (jrow <= irow && irow < jrow + m)
16 for (ii = jrow; ii < irow; ii++)
18 rowvec[2*ii] = entries[2*kk];
19 rowvec[2*ii+1] = entries[2*kk+1];
21 jrow += m;