summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/vectorize1.c
blob: f673e44c963962bf4711a70e33b7cfc622c0551f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* PR middle-end/28915 */
/* { dg-options "-msse -O2 -ftree-vectorize -fdump-tree-vect" } */
/* { dg-require-effective-target sse } */

extern char lanip[3][40];
typedef struct
{
  char *t[8];
}tx_typ;

int set_names (void)
{
  static tx_typ tt1;
  int ln;
  for (ln = 0; ln < 8; ln++)
      tt1.t[ln] = lanip[1];
}

/* { dg-final { scan-tree-dump "vect_cst" "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */