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

     1  /* PR tree-optimization/31345
     2     This caused a crash in VRP when dealing with overflow infinities.  */
     3  
     4  void
     5  dpsnaffle (const char *kbuf)
     6  {
     7    int hash, thash, head[2], off;
     8      {
     9        int _DP_i;
    10        (hash) = 19780211;
    11          {
    12            (hash) = (hash) + (kbuf)[_DP_i];
    13          }
    14        (hash) = ((hash) * 43321879) & 0x7FFFFFFF;
    15      }
    16    while (off != 0)
    17      {
    18        if (hash > thash) {}
    19        else if (hash < thash)
    20          {
    21            off = head[2];
    22          }
    23      }
    24  }