PR target/55146
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr53185.c
blobaf1efba8d66530d4614e4794bce3f0a0fbebb2ea
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -ftree-vectorize" } */
3 unsigned short a, e;
4 int *b, *d;
5 int c;
6 extern int fn2();
7 void fn1 () {
8 void *f;
9 for (;;) {
10 fn2 ();
11 b = f;
12 e = 0;
13 for (; e < a; ++e)
14 b[e] = d[e * c];