1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-evrp" } */
3 /* { dg-require-effective-target int32 } */
9 return (((unsigned char) ~0) >> y
) * 2;
15 return (((unsigned char) ~0) >> (_Bool
) x
) * 2;
21 if (x
>= 4) return 32;
22 return (-1U >> x
) * 16;
25 /* { dg-final { scan-tree-dump-times "return 254" 2 "evrp" } } */
26 /* { dg-final { scan-tree-dump "= PHI <32.*, 4294967280" "evrp" } } */