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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20000420-1.c] - Diff between revs 297 and 338

Only display areas with differences | Details | Blame | View Log

Rev 297 Rev 338
struct z_candidate { struct z_candidate *next;int viable;};
struct z_candidate { struct z_candidate *next;int viable;};
int pedantic;
int pedantic;
 
 
static struct z_candidate *
static struct z_candidate *
splice_viable (cands)
splice_viable (cands)
     struct z_candidate *cands;
     struct z_candidate *cands;
{
{
  struct z_candidate **p = &cands;
  struct z_candidate **p = &cands;
 
 
  for (; *p; )
  for (; *p; )
    {
    {
      if (pedantic ? (*p)->viable == 1 : (*p)->viable)
      if (pedantic ? (*p)->viable == 1 : (*p)->viable)
        p = &((*p)->next);
        p = &((*p)->next);
      else
      else
        *p = (*p)->next;
        *p = (*p)->next;
    }
    }
 
 
  return cands;
  return cands;
}
}
 
 

powered by: WebSVN 2.1.0

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