(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
vect/
pr70021.c
       1  /* PR target/70021 */
       2  
       3  #include "tree-vect.h"
       4  
       5  #define N 160
       6  int a[N];
       7  unsigned long long int b[N], c[N], d[N], e[N];
       8  
       9  __attribute__((noinline, noclone)) void
      10  foo (void)
      11  {
      12    int i;
      13    for (i = 0; i < N; i += 4)
      14      {
      15        unsigned long long int f = (_Bool) b[i];
      16        unsigned long long int g = c[i] != d[i];
      17        e[i] = g ^ (a[i] & (g << f));
      18      }
      19  }
      20  
      21  int
      22  main ()
      23  {
      24    int i;
      25    check_vect ();
      26    for (i = 0; i < N; ++i)
      27      {
      28        a[i] = 1618000128;
      29        b[i] = 10919594786573202791ULL;
      30        c[i] = 2593730175074624973ULL;
      31        d[i] = 7447894520878803661ULL;
      32        e[i] = 14234165565810642243ULL;
      33      }
      34    foo ();
      35    for (i = 0; i < N; ++i)
      36      if (e[i] != ((i & 3) ? 14234165565810642243ULL : 1ULL))
      37        __builtin_abort ();
      38    return 0;
      39  }