aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr52170.c
blob: 3d0a038893d6e32c4753d0507e563bd9350617d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { dg-do compile } */

typedef unsigned char uint8_t ;
typedef unsigned long uint32_t;
void f0a(uint32_t * result, uint32_t * arg1)
{
  int idx;
  for (idx=0;idx<96;idx += 1)
    {
      uint8_t temp_5;
      uint8_t temp_6;

      temp_5 = ~(*arg1);
      temp_6 = (*arg1) + 1 - temp_5;
      result[idx] = temp_6;
    }
}