URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [20080530.c] - Rev 298
Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-einline" } */ void bar (char *); int i; static void foo (void) { char *p = __builtin_alloca (i); bar (p); } int baz (void) { foo (); /* foo() should not be inlined here because it calls alloca */ return 6; } /* { dg-final { scan-tree-dump-times "Inlining foo into baz" 0 "einline2"} } */ /* { dg-final { cleanup-tree-dump "einline2" } } */