(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
vect/
bb-slp-pr98544.c
       1  /* { dg-do run } */
       2  
       3  double a[2], b[2], c[2], d[2];
       4  
       5  void __attribute__((noipa))
       6  foo()
       7  {
       8    double a0 = a[0];
       9    double a1 = a[1];
      10    double b0 = b[0];
      11    double b1 = b[1];
      12    double c0 = c[0];
      13    double c1 = c[1];
      14    double tem1 = a1 - b1;
      15    double tem2 = a0 + b0;
      16    d[0] = tem1 * c1;
      17    d[1] = tem2 * c0;
      18  }
      19  
      20  int main()
      21  {
      22    a[0] = 1.;
      23    a[1] = 2.;
      24    b[0] = 3.;
      25    b[1] = 4.;
      26    c[0] = 2.;
      27    c[1] = 3.;
      28    foo ();
      29    if (d[0] != -6. || d[1] != 8.)
      30      __builtin_abort ();
      31    return 0;
      32  }