URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [loop-14.c] - Rev 853
Go to most recent revision | Compare with Previous | Blame | View Log
/* A test for final value replacement. */ /* { dg-options "-O2 -fdump-tree-optimized" } */ int foo(void); int bla(void) { int i, j = foo (); for (i = 0; i < 100; i++, j++) foo (); /* Should be replaced with return j0 + 100; */ return j; } /* { dg-final { scan-tree-dump-times "\\+ 100" 1 "optimized" } } */ /* { dg-final { cleanup-tree-dump "optimized" } } */
Go to most recent revision | Compare with Previous | Blame | View Log