[flang-commits] [flang] [llvm] [flang][OpenMP] Add semantic check for declare target (PR #71861)

via flang-commits flang-commits at lists.llvm.org
Thu Nov 16 21:18:56 PST 2023


shraiysh wrote:

I am not too familiar with the clang side of things, but the problem is here - `#pragma omp target nowait enter`. The parser is seeing `enter` as a clause and somehow going into infinite loop. I will try to handle this - I think it has to be handled somewhere [here](https://github.com/llvm/llvm-project/blob/ae7fb21b5ad434e920fe394587ac13c899d8ee84/clang/lib/Parse/ParseOpenMP.cpp#L2911). If anyone knows what needs to be done, any hints would be helpful. 

https://github.com/llvm/llvm-project/pull/71861


More information about the flang-commits mailing list