The task_team pointer is dereferenced unconditionally which causes a SEGFAULT when it is NULL (e.g. for serialized parallel, that can happen for "teams" construct or for "target nowait").
The solution is to skip second task team setup for single thread team.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM