diff options
author | Joachim Protze <protze@itc.rwth-aachen.de> | 2018-01-17 10:06:06 +0000 |
---|---|---|
committer | Joachim Protze <protze@itc.rwth-aachen.de> | 2018-01-17 10:06:06 +0000 |
commit | 0c9516b36c90a2ef92ca04d457ff158052f8fde1 (patch) | |
tree | 7cbd9fbba0e012f3b556e86b835a15ffef408df1 /clang-tools-extra/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp | |
parent | 1b2bd2680bd5ff9641c74488a6e77561ebe21e5f (diff) | |
download | bcm5719-llvm-0c9516b36c90a2ef92ca04d457ff158052f8fde1.tar.gz bcm5719-llvm-0c9516b36c90a2ef92ca04d457ff158052f8fde1.zip |
[OMPT] Add Workaround for Intel Compiler Bug
Add Workaround for Intel Compiler Bug with Case#: 03138964
A critical region within a nested task causes a segfault in icc 14-18:
int main()
{
#pragma omp parallel num_threads(2)
#pragma omp master
#pragma omp task
#pragma omp task
#pragma omp critical
printf("test\n");
}
When the critical region is in a separate function, the segault does not occur.
So we add noinline to make sure that the function call stays there.
Differential Revision: https://reviews.llvm.org/D41182
llvm-svn: 322622
Diffstat (limited to 'clang-tools-extra/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp')
0 files changed, 0 insertions, 0 deletions