[flang-commits] [flang] [flang][openacc] Avoid crash when collapse loop nest has extra directive (PR #73166)

Razvan Lupusoru via flang-commits flang-commits at lists.llvm.org
Wed Nov 22 12:35:01 PST 2023


https://github.com/razvanlupusoru approved this pull request.

Generating an error for this case seems correct to me. This is because the clauses on `acc loop` are supposed to apply to all contained loops - and it would be ambiguous if multiple `acc loop` were contained.

Thanks Valentin!

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


More information about the flang-commits mailing list