summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr20928.c
blob: ea8be9e87579bd13ed465ea2172da4d3e82de0ef (plain)
1
2
3
4
5
6
7
8
9
10
extern struct bar_t bar;
void *a;
void
foo (void)
{
  void **p = a;
  do {
    *p++ = ((unsigned char *) &bar + ((unsigned long int) 1L << 31));
  } while (p);
}