Re: [PATCH, OpenACC 2.7] readonly modifier support in front-ends

2023-07-20 Thread Tobias Burnus
Hi Thomas & Chung-Lin, On 20.07.23 15:33, Thomas Schwinge wrote: On 2023-07-11T02:33:58+0800, Chung-Lin Tang wrote: +++ b/gcc/c/c-parser.cc @@ -14059,7 +14059,8 @@ c_parser_omp_variable_list (c_parser *parser, static tree c_parser_omp_var_list_parens (c_parser *parser, enum omp_clause_co

Re: [PATCH, OpenACC 2.7] readonly modifier support in front-ends

2023-07-20 Thread Thomas Schwinge
Hi Chung-Lin, Tobias! On 2023-07-11T02:33:58+0800, Chung-Lin Tang wrote: > this patch contains support for the 'readonly' modifier in copyin clauses > and the cache directive. Thanks! > As we discussed earlier, the work for actually linking this to middle-end > points-to analysis is a somewhat

Re: [PATCH, OpenACC 2.7] readonly modifier support in front-ends

2023-07-11 Thread Tobias Burnus
Hi, just a remark regarding OpenMP. With ...omp ... firstprivate(var) allocator(omp_const_mem_alloc: var) one can also create constant memory in OpenMP. Likewise with a custom allocator that uses the memory space omp_const_mem_space, which is then a run-time thing. I don't think that's particul