[flang-commits] [flang] [Flang][OpenMP] Fixed semantic error when list item with a private da… (PR #109775)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Thu Oct 10 02:31:02 PDT 2024


tblah wrote:

> No, it is not part of any real-time application. We found this issue while testing the taskgroup directive. Additionally, this specific test case works with other compilers such as gfortran and ifx with only allocate clause. I have attached the relevant link for reference. https://godbolt.org/z/Tdfn8qdoa
> 
> Please share your thoughts.

gfortran and ifx seem to accept this code even when there is no private clause. I suspect they are just ignoring allocate in this case.

I don't think we should deviate from the standard where we can avoid it.

I'm sorry it turned out like this for your first patch. Thank you for taking the time to test flang and put the patch together. 

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


More information about the flang-commits mailing list