Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr28187.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-O -ftree-vrp -fwrapv" } */ extern void bar(int); void checkgroups(int last, int verbose) { int window = 0; int outstanding = 0; while (window < last || outstanding) { while (outstanding < 47 && window < last) { if (window < last) { outstanding++; if (verbose) bar(window); bar(window++); } } if (outstanding > 0) bar(0); } }