aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/arm/lp1189445.c
blob: 766748e550987d3f609e48ea1c4b7ce926f0dedd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-do compile } */
/* { dg-require-effective-target arm_neon } */
/* { dg-add-options arm_neon } */
/* { dg-options "-O3" } */

int id;
int
test (const long int *data)
{
  int i, retval;
  retval = id;
  for (i = 0; i < id; i++)
    {
      retval &= (data[i] <= 0);
    }

  return (retval);
}