fixed privates analysis
This commit is contained in:
@@ -208,7 +208,7 @@ static void addInListIfNeed(SgSymbol *tmp, int type, reduction_operation_list *t
|
||||
while (dimList)
|
||||
{
|
||||
allArraySub.push(dimList->lhs());
|
||||
allArraySubConv.push(make_pair(LowerShiftForArrays(tmp, rank), UpperShiftForArrays(tmp, rank)));
|
||||
allArraySubConv.push(make_pair(LowerShiftForArrays(tmp, rank, type), UpperShiftForArrays(tmp, rank)));
|
||||
++rank;
|
||||
dimList = dimList->rhs();
|
||||
}
|
||||
@@ -222,7 +222,7 @@ static void addInListIfNeed(SgSymbol *tmp, int type, reduction_operation_list *t
|
||||
bool ddot = false;
|
||||
if (ex->variant() == DDOT && ex->lhs() || IS_ALLOCATABLE(tmp))
|
||||
ddot = true;
|
||||
t.correctExp.push_back(LowerShiftForArrays(tmp, rank));
|
||||
t.correctExp.push_back(LowerShiftForArrays(tmp, rank, type));
|
||||
|
||||
// swap array's dimentionss
|
||||
if (inNewVars(tmp->identifier()))
|
||||
|
||||
Reference in New Issue
Block a user