OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr31345-1.c] - Diff between revs 154 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 154 Rev 816
/* PR tree-optimization/31345
/* PR tree-optimization/31345
   This caused a crash in VRP when dealing with overflow infinities.  */
   This caused a crash in VRP when dealing with overflow infinities.  */
 
 
void
void
dpsnaffle (const char *kbuf)
dpsnaffle (const char *kbuf)
{
{
  int hash, thash, head[2], off;
  int hash, thash, head[2], off;
    {
    {
      int _DP_i;
      int _DP_i;
      (hash) = 19780211;
      (hash) = 19780211;
        {
        {
          (hash) = (hash) + (kbuf)[_DP_i];
          (hash) = (hash) + (kbuf)[_DP_i];
        }
        }
      (hash) = ((hash) * 43321879) & 0x7FFFFFFF;
      (hash) = ((hash) * 43321879) & 0x7FFFFFFF;
    }
    }
  while (off != 0)
  while (off != 0)
    {
    {
      if (hash > thash) {}
      if (hash > thash) {}
      else if (hash < thash)
      else if (hash < thash)
        {
        {
          off = head[2];
          off = head[2];
        }
        }
    }
    }
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.