PageRenderTime 36ms CodeModel.GetById 34ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/gcc/testsuite/gcc.dg/gomp/static.c

https://gitlab.com/sortix/gcc
C | 14 lines | 12 code | 2 blank | 0 comment | 2 complexity | 871d2afbf0f76e5d008f733eaf14a059 MD5 | raw file
 1static int bork;
 2
 3void bar(void);
 4
 5void foobar (void)
 6{
 7#pragma omp parallel
 8  {
 9#pragma omp for lastprivate(bork)
10    for (bork = 0; bork < 100; bork++) {
11        bar();
12    }
13  }
14}