2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / vectorize1.c
blobf3b9bfba38294f0083a1d023b293b423b69d9262
1 /* PR middle-end/28915 */
2 /* { dg-do compile } */
3 /* { dg-options "-msse -O2 -ftree-vectorize -fdump-tree-vect" } */
5 extern char lanip[3][40];
6 typedef struct
8 char *t[8];
9 }tx_typ;
11 int set_names (void)
13 __attribute__ ((used))
14 static tx_typ tt1;
15 int ln;
16 for (ln = 0; ln < 8; ln++)
17 tt1.t[ln] = lanip[1];
20 /* { dg-final { scan-tree-dump "vect_cst" "vect" } } */