Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/graphite/isl-ast-gen-if-2.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
/* This test case tests reduction, where the pbbs are duplicated. */ static int __attribute__((noinline)) foo () { int i, res = 0; for (i = 0; i < 50; i++) { if (i >= 25) res += i; } return res; } extern void abort (); int main (void) { int res = foo (); if (res != 925) abort (); return 0; }