(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr64434.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O1 -fdump-rtl-expand-details" } */
       3  /* { dg-skip-if "PR64886" { hppa*-*-hpux* } } */
       4  
       5  #define N 256
       6  int a1[N], a2[N], a3[N], a4[N];
       7  
       8  void foo ()
       9  {
      10    int i;
      11    for (i=0; i<N; i++) {
      12      int c;
      13      c = a3[i] + (a1[i] * a2[i]);
      14      a4[i] = c + 1;
      15      a1[i] = a2[i] - 1;
      16    }
      17  }
      18  
      19  /* { dg-final { scan-rtl-dump-times "Swap operands" 1 "expand" } } */
      20  
      21