Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ifc-7.c
blob4d26dc7650d595991bb3d2b82e8396f66a92928f
1 /* { dg-do compile } */
2 /* { dg-options "-c -O2 -ftree-vectorize" { target *-*-* } } */
4 typedef struct eqn_d
6 int *coef;
7 } *eqn;
8 typedef struct omega_pb_d
10 eqn subs;
11 } *omega_pb;
13 omega_pb omega_solve_problem (omega_pb);
15 omega_pb
16 omega_solve_geq (omega_pb pb, int n)
18 int i, e;
19 int j = 0;
21 for (e = n - 1; e >= 0; e--)
22 if (pb->subs[e].coef[i] != pb->subs[e].coef[j])
24 pb->subs[e].coef[i] = j;
25 pb->subs[e].coef[j] = i;
28 return omega_solve_problem (pb);