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/] [ssa-ccp-20.c] - Rev 298
Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O -fdump-tree-ccp1" } */ /* Make sure CCP propagates through indirect calls. */ int foo (void) { int i = -5; int (*fn)(int) = __builtin_abs; int j = fn(i); return j + 5; } /* { dg-final { scan-tree-dump "return 10;" "ccp1" } } */ /* { dg-final { cleanup-tree-dump "ccp1" } } */