PageRenderTime 19ms CodeModel.GetById 15ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/gcc/testsuite/gcc.dg/gomp/openmp-simd-3.c

https://gitlab.com/sortix/gcc
C | 15 lines | 6 code | 4 blank | 5 comment | 2 complexity | c85b1e6346efc6ed5fc631002712bccd MD5 | raw file
 1/* { dg-do compile } */
 2/* { dg-options "-fopenmp-simd -fdump-tree-original" } */
 3
 4/* PR c/65586 */
 5
 6void foo() { }
 7
 8int main() {
 9#pragma omp for collapse(1)
10  for (int i = 1; i <= 151; i+=31)
11     foo();
12}
13
14/* { dg-final { scan-tree-dump-not "omp" "original" } } */
15/* { dg-final { cleanup-tree-dump "original" } } */