PR c/64856
[official-gcc.git] / gcc / testsuite / gcc.dg / binop-notand5a.c
blob289abcb6b8532de5aa2868111baf6a1e35e64a0c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 int
5 foo (long a, unsigned long b)
7 return (a & (a == 0)) | (b & !b);
10 /* { dg-final { scan-tree-dump-times "return 0" 1 "optimized" } } */
11 /* { dg-final { cleanup-tree-dump "optimized" } } */