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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [graphite/] [pr37828.c] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-options "-O2" } */
2
 
3
typedef struct foo
4
{
5
  struct foo **Node;
6
} foo;
7
 
8
static int sort_and_split (foo **Root, foo **Finite, long first)
9
{
10
  foo *cd;
11
  long i;
12
  for (i = 0; i < first; i++)
13
    cd->Node[i] = Finite[first+i];
14
 
15
  sort_and_split(Root, Finite, first);
16
  return (0);
17
}
18
 
19
 
20
void Build_foo(foo **Root, foo **Finite, foo **Infinite)
21
{
22
  long low, high;
23
  while (sort_and_split(Root, Finite, low) == 0);
24
}
25
 

powered by: WebSVN 2.1.0

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