Stop only if there aren't any usable algorithms
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / vectorize1.c
blob974ffd82628c2553f15a079374121f923066bb5e
1 /* PR middle-end/28915 */
2 /* { dg-options "-msse -O2 -ftree-vectorize -fdump-tree-vect" } */
3 /* { dg-require-effective-target sse } */
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" } } */
21 /* { dg-final { cleanup-tree-dump "vect" } } */