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] - Rev 801

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

/* { dg-options "-O2" } */
 
typedef struct foo
{
  struct foo **Node;
} foo;
 
static int sort_and_split (foo **Root, foo **Finite, long first)
{
  foo *cd;
  long i;
  for (i = 0; i < first; i++)
    cd->Node[i] = Finite[first+i];
 
  sort_and_split(Root, Finite, first);
  return (0);
}
 
 
void Build_foo(foo **Root, foo **Finite, foo **Infinite)
{
  long low, high;
  while (sort_and_split(Root, Finite, low) == 0);
}
 
 

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

powered by: WebSVN 2.1.0

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