1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-cddce1" } */
6 foo (unsigned char x
, unsigned short y
)
8 unsigned char t
= (unsigned char)((x
& 1) ^ ((unsigned char)y
& 1));
14 /* We should have combined this to require only one bitwise and
15 as in (x ^ (char) y) & 1. */
17 /* { dg-final { scan-tree-dump-times " & " 1 "cddce1" } } */