openmp: Fix signed/unsigned warning
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / bb-slp-51.c
blob1481018428e8a0dbe82f88f2f180085af5c2215e
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_double } */
4 double a[2];
5 double b[2];
6 double c[2];
7 double e[2];
8 void foo(double x)
10 double tembc0 = b[1] + c[1];
11 double tembc1 = b[0] + c[0];
12 double temde0 = 5 + e[1];
13 double temde1 = 11 + e[0];
14 a[0] = tembc0 + temde0;
15 a[1] = tembc1 + temde1;
18 /* We should common the permutations on the tembc{0,1} and temde{0,1}
19 operands. */
20 /* { dg-final { scan-tree-dump-times "add new stmt: \[^\\r\\n\]* VEC_PERM_EXPR" 1 "slp2" } } */