aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr110640.c
blob: 7667294dde8f0320a92d73e84b3891199dd35800 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* { dg-do run } */
/* { dg-require-effective-target int32plus } */

unsigned short a = 65535;
int b, f, g;
int *c = &b;
long d;
short e;
static int *h(int);
void i() { h(a); }
int *h(int j) {
  unsigned char k;
  for (; e != 8; e = e + 4)
    k = 0;
  for (; (unsigned char)(j-181249535) + k <= 1; k++) {
    *c = d;
    for (; f; f++)
      ;
  }
  return &g;
}
int main() { i(); }