modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr26725.c (about)

     1  struct { unsigned int num; } *numptr;
     2  void notice (int);
     3  void doit (unsigned int *);
     4  
     5  void
     6  rewrite_finalize_block (int x)
     7  {
     8    unsigned int *tmp;
     9    while (tmp = (numptr ? &numptr->num : 0), (tmp ? *tmp : 0) > 0)
    10      {
    11        tmp = (numptr ? &numptr->num : 0);
    12        (void) (*tmp ? 0 : notice (x));
    13        doit (tmp);
    14      }
    15  }