aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/vect/pr51301.c
blob: c0000cad942344453857b5a4d1b0f11b7abe5140 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */

typedef signed char int8_t;
typedef signed long long int64_t;
int64_t
f0a (int8_t * __restrict__ arg1)
{
  int idx;
  int64_t result = 0;
  for (idx = 0; idx < 416; idx += 1)
    result += arg1[idx] << (arg1[idx] == arg1[idx]);
  return result;
}

/* { dg-final { cleanup-tree-dump "vect" } } */