aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/pr84265.c
blob: 59984aead053727c509e4a1dfa342f4c8d895209 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* { dg-do compile } */

struct a
{
  unsigned long b;
  unsigned long c;
  int d;
  int *e;
  char f;
};

struct
{
  int g;
  struct a h[];
} i;

int j, k;
void l ()
{
  for (; k; k++)
    j += (int) (i.h[k].c - i.h[k].b);
}