diff --git a/openmp/tools/archer/ompt-tsan.cpp b/openmp/tools/archer/ompt-tsan.cpp --- a/openmp/tools/archer/ompt-tsan.cpp +++ b/openmp/tools/archer/ompt-tsan.cpp @@ -1001,6 +1001,10 @@ if (ndeps > 0) { // Copy the data to use it in task_switch and task_end. TaskData *Data = ToTaskData(task_data); + if (!Data->Parent) { + // Return since doacross dependences are not supported yet. + return; + } if (!Data->Parent->DependencyMap) Data->Parent->DependencyMap = new std::unordered_map();