URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [pr21458.c] - Rev 689
Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-vrp1" } */ extern void g (void); extern void bar (int); int foo (int a) { int i; for (i = 1; i < 100; i++) { if (i) g (); } } /* { dg-final { scan-tree-dump-times "Folding predicate.*to 1" 1 "vrp1" } } */ /* { dg-final { cleanup-tree-dump "vrp1" } } */