2018-02-09 Sebastian Perta <sebastian.perta@renesas.com>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / pr45094.c
blob7cebf4d50ccaa717913d3ad27ed1b6899fd4bebb
1 /* { dg-do run } */
2 /* { dg-require-effective-target arm_neon_hw } */
3 /* { dg-options "-O2" } */
4 /* { dg-add-options arm_neon } */
6 #include <stdlib.h>
8 long long buffer[32];
10 void __attribute__((noinline)) f(long long *p, int n)
12 while (--n >= 0)
14 *p = 1;
15 p += 32;
19 int main(void)
21 f(buffer, 1);
23 if (!buffer[0])
24 abort();
26 return 0;