aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/tree-ssa/vrp39.c
blob: 69329affb364a416ffebd998d26aa512714e7719 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-do link } */
/* { dg-options "-O2" } */

extern void link_error (void);

void test1(int i)
{
  if (i >= -5 && i <= 8)
    {
      unsigned int j = i;
      if (j == -6)
	link_error ();
      if (j == 9)
	link_error ();
    }
}

int main() { return 0; }