summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/binop-notxor1.c
blob: f0ff203ad480bc7318fe8de319d8215d5d8add06 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-optimized" } */

int
foo (_Bool a, _Bool b)
{
  return (a ^ !a) | (!b ^ b);
}

/* { dg-final { scan-tree-dump-times "return 1" 1 "optimized" } } */