Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/autopar/pr46885.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* PR debug/46885 */ /* { dg-do compile } */ /* { dg-options "-O -ftree-parallelize-loops=4 -fcompare-debug -fno-tree-dominator-opts -funswitch-loops" } */ static inline void bar (int i) { (void) i; } int foo (int *begin, int *end) { int s = 0; int *i; for (i = begin; i != end; ++i) { bar (0); if (begin) return s; } return 0; }