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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [lto/] [20091020-3_0.c] - Rev 774

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

/* { dg-lto-do assemble } */
 
typedef __SIZE_TYPE__ size_t;
static int stack_dir;
static void find_stack_direction ()
{
  static char *addr = ((void *)0);
  auto char dummy;
  if (addr == ((void *)0))
    {
      addr = &(dummy);
      find_stack_direction ();
    }
}
void * C_alloca (size_t size)
{
  if (stack_dir == 0)
    find_stack_direction ();
}
 
 

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.