Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/tree-ssa/pr23744.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children | 1830386684a0 |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-O2 -fno-tree-ccp -fdisable-tree-evrp -fdump-tree-vrp1" } */ void h (void); 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 "vrp1" } } */