aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/bb-slp-pr97709.c
blob: d0f3d0512d946a68b4b8e2c584c9f978decf8d40 (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
25
26
/* { dg-do compile } */

int a;
struct b {
  int c;
  int d;
};
void k (struct b);
struct b
e()
{
  void *f[] = {&&g, &&h, &&i, &&j};
  int d, c;
j:
  goto *(void*)(__INTPTR_TYPE__)a;
g:
  d = 0;
h:
  c = 1;
  goto *a;
i:
  {
    struct b b = {c, d};
    k(b);
  }
}