summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pr32461-1.c
blob: 6e069886d1ac4046158f91f55a5716c01861d382 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* { dg-do compile } */
/* { dg-options "-O3" } */

typedef struct
{
  unsigned exp[256];
}
expbap_t;

void
a52_bit_allocate (expbap_t * expbap)
{
  int i;
  unsigned *exp = expbap->exp;
  char *bap;

  while (i < 3 || exp[i] > exp[i - 1]);

  do {
    if (exp[i + 1] == exp[i])
      bap[i] = 0;
    i++;
  } while (i < 20);
}