[flang-commits] [flang] [Flang][OpenMP] Refactor loop-related lowering for composite support (PR #97566)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Mon Jul 8 02:36:13 PDT 2024


================
@@ -1492,7 +1466,7 @@ genParallelOp(lower::AbstractConverter &converter, lower::SymMap &symTable,
     firOpBuilder.createBlock(&region, /*insertPt=*/{}, allRegionArgTypes,
                              allRegionArgLocs);
 
-    llvm::SmallVector<const semantics::Symbol *> allSymbols = reductionSyms;
+    llvm::SmallVector<const semantics::Symbol *> allSymbols(reductionSyms);
----------------
tblah wrote:

Thanks for linking me to this!

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


More information about the flang-commits mailing list