Without this patch Intel Inspector reports race conditions on fibonacci test, like in code block:
#pragma omp task
i = fib(n-2);
#pragma omp task
j = fib(n-1);
#pragma omp taskwait
return i + j; // <-- false write-read race with i=..., j=...
The patch adds synchronization notifications between task/taskwait, and task/end taskgroup.
Also added suppression on manually synchronized variables in debug mode. This allows to analyze library internals with lesser false positives.