2013-06-03 Teresa Johnson <tejohnson@google.com>
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / bb-slp-31.c
blobe2704dc721fe648f22381e6b98eda58c9ed3920d
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_double } */
4 typedef double vec __attribute__ ((vector_size (2 * sizeof (double))));
5 vec a;
7 void f(){
8 a[0]=1+2*a[0]*a[0];
9 a[1]=1+2*a[1]*a[1];
12 /* { dg-final { scan-tree-dump "Vectorized basic-block" "slp" } } */