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 (tsubst_omp_clauses): Added OMP_CLAUSE_HAS_DEVICE_ADDR.
> * semantics.cc (finish_omp_clauses): Added template decl processing.
>
> libgomp/ChangeLog:
>
> * testsuite/libgomp.c++/target-has-device-addr-7.C: New test.
> * testsuite/libgomp.c++/target-has-device-addr-8.C: New test.
> * testsuite/libgomp.c++/target-has-device-addr-9.C: New test.
Jakub