aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/vect/pr50635.c
blob: 6a7ac52e82126deeacc55d8066b97b8814ca2678 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* { dg-do compile } */

typedef signed long int32_t;
typedef char int8_t;

void f0a(int32_t * result, int32_t * arg1, int8_t * arg2, int32_t temp_3)
{
  int idx;
  for (idx=0;idx<10;idx += 1)
    {
      int32_t temp_4;
      int32_t temp_12;

      temp_4 = (-2 & arg2[idx]) + temp_3;
      temp_12 = -2 * arg2[idx] + temp_4;
      result[idx] = temp_12;
    }
}

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