On Thu, Oct 03, 2019 at 09:35:03AM -0700, Julian Brown wrote:
> This patch provides some macros naming special offset field values used
> in libgomp/target.c.  It was previously posted as part of the series
> supporting OpenACC 2.6 manual deep copy here:
> 
>   https://gcc.gnu.org/ml/gcc-patches/2018-11/msg00825.html
> 
> Parts of that patch were committed already by Thomas in:
> 
>   https://gcc.gnu.org/ml/gcc-patches/2018-12/msg01723.html
> 
> This patch comprises the remaining parts.  Tested (alongside other
> patches) with offloading to NVPTX.  OK for trunk?
> 
> Thanks,
> 
> Julian
> 
> 2019-10-02  Julian Brown  <jul...@codesourcery.com>
>           Cesar Philippidis  <ce...@codesourcery.com>
> 
>       libgomp/
>       * libgomp.h (OFFSET_INLINED, OFFSET_POINTER, OFFSET_STRUCT): Define.
>       * target.c (FIELD_TGT_EMPTY): Define.
>       (gomp_map_val): Use OFFSET_* macros instead of magic constants.  Write
>       as switch instead of list of ifs.
>       (gomp_map_vars_internal): Use OFFSET_* and FIELD_TGT_EMPTY macros.

Ok.

        Jakub

Reply via email to