OSDN Git Service

PR tree-optimization/40238
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / vect / vect-recip.c
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_float } */
3
4 void f(float *__restrict__ qa, float *__restrict__ qb,
5        float *__restrict__ qc, float *__restrict__ rtrms)
6 {
7   int i;
8   static float qam[600];
9   static float qbm[600];
10   static float qcm[600];
11   for(i=0;i<600;i++)
12   {
13     float a = rtrms[i];
14     qam[i] = qa[i]/a;
15     qbm[i] = qb[i]/a;
16     qcm[i] = qc[i]/a;
17   }
18 }
19
20 /* { dg-final { cleanup-tree-dump "vect" } } */