(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
execute/
pr70222-1.c
       1  /* PR rtl-optimization/70222 */
       2  
       3  int a = 1;
       4  unsigned int b = 2;
       5  int c = 0;
       6  int d = 0;
       7  
       8  void
       9  foo ()
      10  {
      11    int e = ((-(c >= c)) < b) > ((int) (-1ULL >> ((a / a) * 15)));
      12    d = -e;
      13  }
      14  
      15  __attribute__((noinline, noclone)) void
      16  bar (int x)
      17  {
      18    if (x != -1)
      19      __builtin_abort ();
      20  }
      21  
      22  int
      23  main ()
      24  {
      25  #if __CHAR_BIT__ == 8 && __SIZEOF_INT__ == 4 && __SIZEOF_LONG_LONG__ == 8
      26    foo ();
      27    bar (d);
      28  #endif
      29    return 0;
      30  }