aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/bb-slp-62.c
blob: 84ee04c1013a5451655eea9f4c57321d7c287bdd (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 } */

typedef struct {
  char a;
  int b[];
} c;
int d, f;
c e;
void g() {
  int h, i, j;
  for (; i;)
    switch (i)
    case 4: {
      h = (__UINTPTR_TYPE__)g >= 3;
      for (; h; h -= 1)
        if (d)
          j = f;
    }
      for (; i < 3; i++)
        e.b[i] = j;
}