PR target/55146
[official-gcc.git] / gcc / testsuite / gcc.dg / binop-notor2.c
blobab8d70e4b5a6aa4296511fc0bd7daa1d6a703c5b
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 int
5 foo (_Bool a, _Bool b)
7 return (a | (a == 0)) | ((b ^ 1) | b);
10 /* { dg-final { scan-tree-dump-times "return 1" 1 "optimized" } } */
11 /* { dg-final { cleanup-tree-dump "optimized" } } */