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/] [ssa-ccp-20.c] - Rev 816
Go to most recent revision | 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" } } */
Go to most recent revision | Compare with Previous | Blame | View Log