2008-05-30 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr36244.c
blob9daa29e2f109552b604d50d61e60fc288609ec18
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -ftree-parallelize-loops=4" } */
4 struct p7prior_s {
5 int mnum; /* number of mat emission Dirichlet mixtures */
6 float mq[200]; /* probabilities of mnum components */
7 float m[200][20]; /* match emission terms per mix component */
8 };
10 struct p7prior_s *default_amino_prior(void);
11 struct p7prior_s *P7AllocPrior(void);
13 struct p7prior_s *
14 default_amino_prior(void)
16 struct p7prior_s *pri;
17 int x, q;
19 static float defmq[5] = {
20 0.178091, 0.056591, 0.0960191, 0.0781233, 0.0834977 };
21 static float defm[5][6] = {
22 { 0.270671, 0.039848, 0.017576, 0.016415, 0.014268, 0.216147 },
23 { 0.021465, 0.010300, 0.011741, 0.010883, 0.385651, 0.029156 },
24 { 0.561459, 0.045448, 0.438366, 0.764167, 0.087364, 0.583402 },
25 { 0.070143, 0.011140, 0.019479, 0.094657, 0.013162, 0.073732 },
26 { 0.041103, 0.014794, 0.005610, 0.010216, 0.153602, 0.012049 }
29 pri = P7AllocPrior();
30 pri->mnum = 5;
31 for (q = 0; q < pri->mnum; q++)
33 pri->mq[q] = defmq[q];
34 for (x = 0; x < 6; x++)
35 pri->m[q][x] = defm[q][x];
37 return pri;