(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
torture/
pr66949-2.c
       1  /* PR tree-optimization/66949 */
       2  /* { dg-do compile } */
       3  
       4  char a;
       5  int b, c, d;
       6  extern int fn2 (void);
       7  
       8  short
       9  fn1 (short p1, short p2)
      10  {
      11    return p2 == 0 ? p1 : p1 / p2;
      12  }
      13  
      14  int
      15  main (void)
      16  {
      17    char e = 1;
      18    int f = 7;
      19    c = a >> f;
      20    b = fn1 (c, 0 < d <= e && fn2 ());
      21  
      22    return 0;
      23  }