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

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Tobias Burnus from comment #0)
> It is not clear to me whether it is valid or not.

To answer myself and record the result: As mentioned by me in
https://gcc.gnu.org/ml/gcc-patches/2020-01/msg01814.html , it is invalid via
the following in OpenACC 3.0 (OpenACC 2.6 is same):

“Any array or subarray in a data clause, including Fortran array pointers, must
be a contiguous block of memory, except for dynamic multidimensional C arrays.”
(2.7.1 under Restrictions.)

(In reply to jules from comment #3)
> I believe this is fixed on trunk now.

So do I. Thanks for the fix!

Reply via email to