PR tree-optimization/84740
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr60505.c
blob839b4d2c370e6b0160fd7b5cd9c4c819f1d21eb5
1 /* { dg-do compile } */
2 /* { dg-additional-options "-Wall -Werror" } */
4 void foo(char *in, char *out, int num)
6 int i;
7 char ovec[16] = {0};
9 for(i = 0; i < num ; ++i)
10 out[i] = (ovec[i] = in[i]);
11 out[num] = ovec[num/2];