URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [ssa-ccp-31.c] - Rev 689
Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O -fdump-tree-ccp1" } */ int g (int i, int j) { int t = 0; int i1; if (i == j) t = 3; for (i1 = 0; i1 < 10000; i1++) h(); if (t != 5) return 0; else return 1; } /* { dg-final { scan-tree-dump-times "Folding predicate.*to 1" 1 "ccp1" } } */ /* { dg-final { cleanup-tree-dump "ccp1" } } */