test_omp_task_untied/orph_test_omp_task_untied

Can anyone explain the situation with the failures in OpenMP3.1_Validation…

Testing for “omp_task_untied”:
Generating sources … success
Compiling soures … success
Running test with 8 threads … failed 100% of the tests

  • orphaned mode:
    Generating sources … success
    Compiling soures … success
    Running test with 8 threads … failed 100% of the tests

seen on both iomp5 and gomp for both darwin and linux. I assume it is related to the issue
discussed in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44085 where untied results in
non-conforming behavior. If so, shouldn’t both gcc and clang refuse to compile this code
or is there no way to detect the misuse of untied at compile time? Thanks in advance.
Jack