aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pr107053.c
blob: 8195d0f57b4e7f4bd9a137d384a6a1b5a71108be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do compile }
// { dg-options "-O2 -fdump-tree-evrp" }

void link_failure();
void f(int a)
{
    a |= 0x300;
    int b =  __builtin_popcount(a);
    if (b < 2)
        link_failure();
}

// { dg-final { scan-tree-dump-not "link_failure" "evrp" } }