Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/lto/20091020-3_0.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +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 (); }