OSDN Git Service

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