PR c++/67273
[official-gcc.git] / gcc / testsuite / gcc.target / arm / pr52633.c
blobb904d59d95caade6a294190acbdc5d2ba1a7b329
1 /* PR tree-optimization/52633 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target arm_neon_ok } */
4 /* { dg-options "-march=armv7-a -mfloat-abi=softfp -mfpu=neon -O -ftree-vectorize" } */
6 void
7 test (unsigned short *x, signed char *y)
9 int i;
10 for (i = 0; i < 32; i++)
11 x[i] = (short) (y[i] << 5);