Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/lto/20091020-3_0.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { 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 (); }