aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/torture/pr59164.c
blob: 1ec69610c21da2da27258c397b528d3ad8baa173 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* { dg-do compile } */

int a, d, e;
long b[10];
int c[10][8];

int fn1(p1)
{ 
  return 1 >> p1; 
}

void fn2(void)
{
  int f;
  for (a=1; a <= 4; a++)
    {
      f = fn1(0 < c[a][0]);
      if (f || d)
	e = b[a] = 1;
    }
}