aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr83073.c
blob: 0357f5e013e0a78230cf9bcfc0232d4be4a669e9 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-evrp-details -fno-tree-fre -fno-tree-ccp -fno-tree-forwprop" } */

int f(int x)
{
    x = x|1;
    return x & 1;
}

/* { dg-final { scan-tree-dump "Folded into: return 1;" "evrp" } }  */