(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
tree-ssa/
pr81588.c
       1  /* PR tree-optimization/81588 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-O2 -fdump-tree-reassoc1-details" } */
       4   	
       5  extern long long int a, c;
       6  extern unsigned short b;
       7  
       8  /* { dg-final { scan-tree-dump-times "Optimizing range test \[^\n\r]* and comparison" 1 "reassoc1" } } */
       9  
      10  __attribute__((noinline, noclone)) void
      11  foo (void)
      12  {
      13    if ((b > a) != (1 + (a < 0)))
      14      c = 0;
      15  }