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