1 /* PR target/52375 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target arm_neon_ok } */
4 /* { dg-options "-march=armv7-a -mfloat-abi=hard -mfpu=neon -O -ftree-vectorize" } */
5
6 struct C { int c, d; };
7
8 unsigned
9 foo (struct C *p)
10 {
11 unsigned int b = 0, i;
12 for (i = 0; i < 64; i++)
13 b |= 0x80000000U >> p[i].c;
14 return b;
15 }