On Thu, Jun 18, 2020 at 03:08:53PM +0200, Tobias Burnus wrote:
> OpenMP 4.5 does not permit allocatable components in
> list items of the map clause. (OpenMP 5 does.)
> As OpenMP 5 support is not implemented, let's avoid
> generating wrong code by diagnosing this (until
> implemented).
> 
> OK?

Ok.

> PS: I wonder whether something similar is needed
> for 'private' and 'firstprivate' on target. The
> allocatable-component restriction is only in the
> 'map' clause. However, private/firstprivate have
> the same issue. (Except that it is much less likely
> that a user puts a complicated variable in 'private'
> or 'firstprivate'.)

Probably.

        Jakub

Reply via email to