summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr26725.c
blob: 934042a5241b3004e56ae4dd710b6050a40d82a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
struct { unsigned int num; } *numptr;
void notice (int);
void doit (unsigned int *);

void
rewrite_finalize_block (int x)
{
  unsigned int *tmp;
  while (tmp = (numptr ? &numptr->num : 0), (tmp ? *tmp : 0) > 0)
    {
      tmp = (numptr ? &numptr->num : 0);
      (void) (*tmp ? 0 : notice (x));
      doit (tmp);
    }
}