2018-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / slp-1.c
blobbb352020f9753d9f7cfa282edb112b07d081711c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-vectorize -fno-vect-cost-model" } */
4 struct R {
5 double d1;
6 double d2;
7 };
9 struct R foo (struct R arg)
11 struct R ret;
12 ret.d1 = arg.d2 * (0.0 - arg.d1);
13 ret.d2 = ret.d1;
14 return ret;