Debian Codegraph @

gcc/testsuite/gcc.dg/vect/bb-slp-72.c

raw
1 #include "tree-vect.h"
2
3 double x[2], y[2], z[2], w[2];
4
5 void __attribute__((noipa)) foo ()
6 {
7 double tem0 = x[1] + y[1];
8 double tem1 = x[0] - y[0];
9 double tem2 = z[1] * tem0;
10 double tem3 = z[0] * tem1;
11 z[0] = tem2 - w[0];
12 z[1] = tem3 + w[1];
13 }
14
15 int main()
16 {
17 check_vect ();
18
19 x[0] = 1.; x[1] = 2.;
20 y[0] = 7.; y[1] = -5.;
21 z[0] = 2.; z[1] = 3.;
22 w[0] = 9.; w[1] = -5.;
23 foo ();
24 if (z[0] != -18. || z[1] != -17.)
25 __builtin_abort ();
26 return 0;
27 }