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] - 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-lto-do assemble } */
2
 
3
typedef __SIZE_TYPE__ size_t;
4
static int stack_dir;
5
static void find_stack_direction ()
6
{
7
  static char *addr = ((void *)0);
8
  auto char dummy;
9
  if (addr == ((void *)0))
10
    {
11
      addr = &(dummy);
12
      find_stack_direction ();
13
    }
14
}
15
void * C_alloca (size_t size)
16
{
17
  if (stack_dir == 0)
18
    find_stack_direction ();
19
}
20
 

powered by: WebSVN 2.1.0

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