https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94874

--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Using
// here: float array[array_li];
...
//#pragma omp target defaultmap(none)  map(from:array_so_openmp_target)
#pragma omp parallel default(none)  shared(array_so_openmp_target)
    array_so_openmp_target = sizeof array;

Shows that the latter works – with an implicit 'firstprivate(array_li.0)' while
the former has no firstprivate and fails.

Reply via email to