aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/bb-slp-56.c
blob: 90d175124920d9e11ba8cd3f1d4c285ac305b870 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { dg-do compile } */

typedef struct {
  double a, b;
} c;
int d, e;
int i(void);
void h(c, c);
void f() {
  c a, g;
  do {
    a.a = e ?: g.a;
    a.b = g.b + d;
    h(g, a);
    g = a;
  } while (i());
}