[Openmp-commits] [PATCH] D41182: [OMPT] Fix testcases for Intel Compiler

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Dec 22 08:49:49 PST 2017


protze.joachim added a comment.

In https://reviews.llvm.org/D41182#955383, @omalyshe wrote:

> >   icc bug
>
> What bug it is and which version of ICC is affected?


We found that

  #include <stdio.h>
  int main()
  {
    #pragma omp parallel num_threads(2)
    #pragma omp master
      #pragma omp task
        #pragma omp task
          #pragma omp critical
            printf("test\n");
  }

results in a segfault. icc 14-18 are affected. Paul Kapinos opened a ticket with Intel for this bug.
There is no segfault if the critical is in a function. Therefore we added the noinline for print_task_type.


https://reviews.llvm.org/D41182





More information about the Openmp-commits mailing list