https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80859
--- Comment #11 from Thorsten Kurth <thorstenkurth at me dot com> --- Hello Jakub, yes, you are right. I thought that map(tofrom:XXXX) is the default mapping but I might be wrong. In any case, teams is always 1. So this code is basically just data streaming so there is no need for a detailed performance analysis. When I timed the code (not profiling it) the OpenMP 4.5 code had a tiny bit more overhead, but not significant. However, we might nevertheless learn from that. Best Thorsten