aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pr93781-1.c
blob: b2505f3959de69447629ecde09c8e79f64169d94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-evrp" } */

void kill (void);

void foo (unsigned int arg)
{
  int a = arg - 3;
  unsigned int b = 4;
  int x = 0x1 << arg;

  if (a < 0)
    b = x;

  if (b >=  5)
    kill ();;
}

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