[Openmp-commits] [openmp] [openmp][flang] Add tests for map clause (PR #70394)

Michael Klemm via Openmp-commits openmp-commits at lists.llvm.org
Fri Oct 27 07:34:24 PDT 2023


mjklemm wrote:

> > The correct spelling would be `!$omp target map(tofrom:/var_common/)`, see OpenMP 5.2 specification page 61, line 6.
> 
> Thank you @mjklemm ! Weirdly the` /var_common/` is not accepted but the compiler is happy with `var_common` currently, although it doesn't appear to do anything reasonable with it. So it looks like the map clause needs to be taught how to understand the correct spelling.

I'm smelling a bug here. :-)

https://github.com/llvm/llvm-project/pull/70394


More information about the Openmp-commits mailing list