blob: 39c258dcd7599b662d568b78522448c6ea77d955 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* { 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" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
|