[OMPT] Fix assertion for OpenMP code generated with outdated compilers
authorJoachim Protze <protze@itc.rwth-aachen.de>
Fri, 10 Nov 2017 21:07:01 +0000 (21:07 +0000)
committerJoachim Protze <protze@itc.rwth-aachen.de>
Fri, 10 Nov 2017 21:07:01 +0000 (21:07 +0000)
commit91732475a648b4f1303dbdf3f96b08a6b810143b
tree0beb3d9f947cc45663aaf313e2fe3ea4feab71bc
parent3b9ea32ef83247090205891af305d98a3aa5c975
[OMPT] Fix assertion for OpenMP code generated with outdated compilers

For up-to-date compilers, this assertion is reasonable, but it breaks
compatibility with the typical compiler installed on most systems.
This patch changes the default value to what we had when there was no
compiler support. A warning about the outdated compiler is printed during
runtime, when this point is reached.

Differential Revision: https://reviews.llvm.org/D39890

llvm-svn: 317928
openmp/runtime/src/i18n/en_US.txt
openmp/runtime/src/kmp_csupport.cpp
openmp/runtime/src/kmp_sched.cpp