https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91410
Thomas Schwinge <tschwinge at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2019-09-23
CC| |burnus at gcc dot gnu.org,
| |tschwinge at gcc dot gnu.org
Blocks| |65095
Ever confirmed|0 |1
--- Comment #1 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
(In reply to Judicaƫl Grasset from comment #0)
> When compiling the code below, the compiler generates error messages about
> OpenMP syntax errors, but the code only uses OpenACC pragmas.
That's PR65095, which so far has been considered low priority.
> Also I think the code should compile and work fine.
That's the more important and intricate issue, of course. :-)
> type(t) :: my_t
> integer :: i
> allocate(my_t%inside(100))
> !$acc enter data copyin(my_t, my_t%inside)
That's not yet supported with mainline GCC. As far as I remember, this is
supposed to be supported with the current OpenACC development branch
(openacc-gcc-9-branch), but seems to run into an "internal compiler error: in
install_var_field, at omp-low.c:738", oh my...
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65095
[Bug 65095] Adapt OpenMP diagnostic messages for OpenACC