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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20000420-1.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
struct z_candidate { struct z_candidate *next;int viable;};
2
int pedantic;
3
 
4
static struct z_candidate *
5
splice_viable (cands)
6
     struct z_candidate *cands;
7
{
8
  struct z_candidate **p = &cands;
9
 
10
  for (; *p; )
11
    {
12
      if (pedantic ? (*p)->viable == 1 : (*p)->viable)
13
        p = &((*p)->next);
14
      else
15
        *p = (*p)->next;
16
    }
17
 
18
  return cands;
19
}

powered by: WebSVN 2.1.0

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