Imported Upstream version 4.7.3
[platform/upstream/gcc48.git] / gcc / testsuite / gcc.dg / vect / pr50635.c
1 /* { dg-do compile } */
2
3 typedef signed long int32_t;
4 typedef char int8_t;
5
6 void f0a(int32_t * result, int32_t * arg1, int8_t * arg2, int32_t temp_3)
7 {
8   int idx;
9   for (idx=0;idx<10;idx += 1)
10     {
11       int32_t temp_4;
12       int32_t temp_12;
13
14       temp_4 = (-2 & arg2[idx]) + temp_3;
15       temp_12 = -2 * arg2[idx] + temp_4;
16       result[idx] = temp_12;
17     }
18 }
19
20 /* { dg-final { cleanup-tree-dump "vect" } } */
21