For example, without this patch, the following fails as expected with
or without the present modifier, but the present modifier doesn't
produce its usual diagnostic:
#pragma omp target data map(alloc: arr[0:2]) { #pragma omp target map(present, tofrom: arr[0:100]) // not fully present ; }
On second thoughts, maybe this should also become a MESSAGE. It's a diagnostic which will help the user understand why the present-related message follows.