Imported Upstream version 4.7.3
[platform/upstream/gcc48.git] / gcc / testsuite / gcc.dg / vect / pr51301.c
1 /* { dg-do compile } */
2
3 typedef signed char int8_t;
4 typedef signed long long int64_t;
5 int64_t
6 f0a (int8_t * __restrict__ arg1)
7 {
8   int idx;
9   int64_t result = 0;
10   for (idx = 0; idx < 416; idx += 1)
11     result += arg1[idx] << (arg1[idx] == arg1[idx]);
12   return result;
13 }
14
15 /* { dg-final { cleanup-tree-dump "vect" } } */