From 947747962dc96802f713a72456a5d3c738a4a2b4 Mon Sep 17 00:00:00 2001 From: ALEXks Date: Sun, 24 Mar 2024 15:21:02 +0300 Subject: [PATCH] fixed --- .../_src/Transformations/private_arrays_resizing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapfor/experts/Sapfor_2017/_src/Transformations/private_arrays_resizing.cpp b/sapfor/experts/Sapfor_2017/_src/Transformations/private_arrays_resizing.cpp index 8a7d656..e5be7e9 100644 --- a/sapfor/experts/Sapfor_2017/_src/Transformations/private_arrays_resizing.cpp +++ b/sapfor/experts/Sapfor_2017/_src/Transformations/private_arrays_resizing.cpp @@ -1087,7 +1087,7 @@ static SgSymbol* shrinkArray(const LoopGraph *forLoop, SgSymbol *arraySymbol, ve SgForStmt *loopStmt = (SgForStmt*)(forLoop->loop->GetOriginal()); if (!reduceToVariable && isAllocatable(arraySymbol)) - insertAllocDealloc(forLoop, arraySymbol, newSymbol, false, allocDone, NULL, &indexes); + insertAllocDealloc(forLoop, arraySymbol, newSymbol, allocDone, false, NULL, &indexes); for (SgStatement *st = loopStmt->lexNext(); st != loopStmt->lastNodeOfStmt()->lexNext(); st = st->lexNext()) if (st->variant() != ALLOCATE_STMT && st->variant() != DEALLOCATE_STMT)