[flang-commits] [flang] [flang][acc] Fix crash on collapse(force:N) with non-tightly nested loops (PR #191310)

Razvan Lupusoru via flang-commits flang-commits at lists.llvm.org
Fri Apr 17 09:49:54 PDT 2026


================
@@ -3591,6 +3601,7 @@ class FirConverter : public Fortran::lower::AbstractConverter {
   }
 
   void genFIR(const Fortran::parser::OpenACCConstruct &acc) {
+    Fortran::lower::clearCollapsedDoConstructs();
----------------
razvanlupusoru wrote:

The comment above is about this example: https://github.com/llvm/llvm-project/pull/191310#discussion_r3101889556

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


More information about the flang-commits mailing list