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