fixed DCLARE analysis
This commit is contained in:
@@ -1289,6 +1289,9 @@ static set<DIST::Array*>
|
||||
|
||||
SgStatement* declStat = NULL;
|
||||
|
||||
if (realArray->GetLocation().first == DIST::l_PARAMETER)
|
||||
continue;
|
||||
|
||||
if (realArray->GetLocation().first == DIST::l_COMMON)
|
||||
{
|
||||
commonArrays.insert(realArray);
|
||||
|
||||
@@ -741,7 +741,7 @@ static bool runAnalysis(SgProject &project, const int curr_regime, const bool ne
|
||||
else if (curr_regime == LOOP_DATA_DEPENDENCIES)
|
||||
doDependenceAnalysisOnTheFullFile(file, 1, 1, 1);
|
||||
else if (curr_regime == REMOVE_DVM_DIRS || curr_regime == REMOVE_DVM_DIRS_TO_COMMENTS || curr_regime == REMOVE_SPF_DIRS) {
|
||||
bool removeDvm = (curr_regime == REMOVE_DVM_DIRS || curr_regime == REMOVE_DVM_DIRS);
|
||||
bool removeDvm = (curr_regime == REMOVE_DVM_DIRS);
|
||||
bool removeSpf = (curr_regime == REMOVE_SPF_DIRS);
|
||||
bool toComment = (curr_regime == REMOVE_DVM_DIRS_TO_COMMENTS);
|
||||
removeDvmSpfDirectives(file, removeDvm, removeSpf, toComment);
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
#define VERSION_SPF "2477"
|
||||
#define VERSION_SPF "2478"
|
||||
|
||||
Reference in New Issue
Block a user