URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [pr23848-1.c] - Rev 816
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 bar1 (char *, int); void foo1 (int size) { char temp[size]; temp[size-1] = '\0'; bar1 (temp, size); } void bar2 (char *, char *, char *, char *, int); void foo2 (int size) { char temp[size]; temp[size-1] = '\0'; { char temp2[size]; { char temp3[size]; { char temp4[size]; bar2 (temp, temp2, temp3, temp4, size); } } } } /* { dg-final { scan-tree-dump-not "__builtin_stack_save" "optimized"} } */ /* { dg-final { scan-tree-dump-not "__builtin_stack_restore" "optimized"} } */ /* { dg-final { cleanup-tree-dump "optimized" } } */
Go to most recent revision | Compare with Previous | Blame | View Log