blob: 7dacfa07f841c0631924ea1e0f0ce7933677db7a [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
int
foo (_Bool a, _Bool b)
{
return (a | (a == 0)) | ((b ^ 1) | b);
}
/* { dg-final { scan-tree-dump-times "return 1" 1 "optimized" } } */