Commit a30f8936 by Richard Guenther Committed by Richard Biener

20091020-3_0.c: New testcase.

2009-10-20  Richard Guenther  <rguenther@suse.de>

	* gcc.dg/lto/20091020-3_0.c: New testcase.

From-SVN: r153019
parent 70041f8a
2009-10-20 Richard Guenther <rguenther@suse.de>
* gcc.dg/lto/20091020-3_0.c: New testcase.
2009-10-20 Richard Guenther <rguenther@suse.de>
PR lto/41761
* gcc.dg/lto/20091020-1_0.c: New testcase.
* gcc.dg/lto/20091020-1_1.c: Likewise.
......
/* { 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 ();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment