Re: [PATCH, OpenACC 2.7] Implement host_data must have use_device clause requirement

2023-06-16 Thread Thomas Schwinge
Hi Chung-Lin! On 2023-06-06T23:10:37+0800, Chung-Lin Tang wrote: > this patch implements the OpenACC 2.7 change requiring the host_data construct > to have at least one use_device clause. Thanks! > This patch started out with a simple check during gimplify (much smaller > patch), Heh, thanks

[PATCH, OpenACC 2.7] Implement host_data must have use_device clause requirement

2023-06-06 Thread Chung-Lin Tang via Gcc-patches
Hi Thomas, this patch implements the OpenACC 2.7 change requiring the host_data construct to have at least one use_device clause. This patch started out with a simple check during gimplify (much smaller patch), but turned out that front-ends removed use_device clauses when they have error, and the