summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr71901.c
blob: 42e9b0e968acb86ce3d0a17ce5857e8518c5749e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */
/* { dg-require-effective-target alloca } */

typedef struct { int _mp_size; } mpz_t[1];
int a, b;
void fn1()
{
  mpz_t c[1][b];
  for (;;) {
      int d = 0 >= 0 ? 0 == 0 ? c[0][0]->_mp_size ? -1 : 0 : 0 : 0,
	  e = 0 >= 0 ? 0 == 0 ? c[1][1]->_mp_size ? -1 : 0 : 0 : 0;
      if (d != e)
	a++;
  }
}