(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
tree-ssa/
forwprop-24.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O -fdump-tree-cddce1" } */
       3  
       4  void bar (void);
       5  unsigned short
       6  foo (unsigned char x, unsigned short y)
       7  {
       8    unsigned char t = (unsigned char)((x & 1) ^ ((unsigned char)y & 1));
       9    if (t == 1)
      10      bar ();
      11    return y;
      12  }
      13  
      14  /* We should have combined this to require only one bitwise and
      15     as in (x ^ (char) y) & 1.  */
      16  
      17  /* { dg-final { scan-tree-dump-times " & " 1 "cddce1" } } */