Re: [PATCH] OpenMP, C++: Add template support for the has_device_addr clause.

2022-05-13 Thread Jakub Jelinek via Gcc-patches
On Tue, May 10, 2022 at 05:41:38PM +0200, Marcel Vollweiler wrote: > I removed all the NON_LVALUE_EXPR changes again. > > The new version of the patch was tested again on x86_64-linux with nvptx and > amdgcn offloading. All with no regressions. Ok, thanks. > gcc/cp/ChangeLog: > > * pt.cc

Re: [PATCH] OpenMP, C++: Add template support for the has_device_addr clause.

2022-05-10 Thread Marcel Vollweiler
Hi Jakub, diff --git a/gcc/cp/semantics.cc b/gcc/cp/semantics.cc index 0cb17a6..452ecfd 100644 --- a/gcc/cp/semantics.cc +++ b/gcc/cp/semantics.cc @@ -8534,11 +8534,14 @@ finish_omp_clauses (tree clauses, enum c_omp_region_type ort) { if (handle_omp_array_sections (c, ort))

Re: [PATCH] OpenMP, C++: Add template support for the has_device_addr clause.

2022-05-05 Thread Jakub Jelinek via Gcc-patches
On Wed, Feb 23, 2022 at 05:01:45PM +0100, Marcel Vollweiler wrote: > gcc/cp/ChangeLog: > > * pt.cc (tsubst_omp_clauses): Add OMP_CLAUSE_HAS_DEVICE_ADDR. > * semantics.cc (finish_omp_clauses): Handle PARM_DECL and > NON_LVALUE_EXPR. > > gcc/ChangeLog: > > * gimplify.cc (gi

[PATCH] OpenMP, C++: Add template support for the has_device_addr clause.

2022-02-23 Thread Marcel Vollweiler
Hi, The patch for adding the has_device_addr clause on the target construct was recently committed (bbb7f8604e1dfc08f44354cfd93d2287f2fdd489). Additionally, this patch adds support for list items in the has_device_addr clause which type is given by C++ template parameters. Marcel --