https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113006
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org --- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> --- [WIP] The Pull Request 3831 for Issue 2618 adds the restriction to *target* only: "* A list-item in a *map* clause that is specified on a *target* construct must have a base-variable or base-pointer." However, function calls in lvalue expressions can be still be used in 'target {,enter,exit} data'. NOTE: This also applies to Fortran as 'f()' if 'f' returns a data pointer is a variable in Fortran, but it isn't a base-variable; i.e. permitted in 'target ... data' not in 'target'.