URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [pr23848-3.c] - Rev 378
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR middle-end/23848 */ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-optimized" } */ void bar (int, char *, char *, char *, char *, int); void foo (int size) { int i; for (i = 0; i < size; i++) { char temp[size]; temp[size-1] = '\0'; { char temp2[size]; { char temp3[size]; { char temp4[size]; bar (i, temp, temp2, temp3, temp4, size); } } } } } /* { dg-final { scan-tree-dump-times "__builtin_stack_save" 1 "optimized"} } */ /* { dg-final { scan-tree-dump-times "__builtin_stack_restore" 1 "optimized"} } */ /* { dg-final { cleanup-tree-dump "optimized" } } */
Go to most recent revision | Compare with Previous | Blame | View Log