Compare commits
7 Commits
7c65ae981c
...
280beb13cc
| Author | SHA1 | Date | |
|---|---|---|---|
| 280beb13cc | |||
| 3bc9351641 | |||
| 16b2c6b42b | |||
| fe31df0ef2 | |||
|
|
4c8681bfe2 | ||
|
|
d330a6ee23 | ||
|
|
b439759e9b |
Submodule projects/dvm updated: 37910dba0a...4b7ef11871
@@ -403,7 +403,7 @@ static int convertFile(int argc, char* argv[], const set<string>& filesInProj, c
|
|||||||
fprintf(stderr, "<<<<< Unparsing %s >>>>>\n", fout_name);
|
fprintf(stderr, "<<<<< Unparsing %s >>>>>\n", fout_name);
|
||||||
|
|
||||||
if (mod_gpu) /*ACC*/
|
if (mod_gpu) /*ACC*/
|
||||||
UnparseTo_CufAndCu_Files(file, fout_cuf, fout_C_cu, fout_info);
|
UnparseTo_CufAndCu_Files(file, fout_cuf, fout_C_cu, fout_info, fout_name);
|
||||||
|
|
||||||
const string fileN = file->filename();
|
const string fileN = file->filename();
|
||||||
set<SgStatement*> toRemove;
|
set<SgStatement*> toRemove;
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ void insertIntrinsicStat(const vector<FuncInfo*>& allFuncInfo)
|
|||||||
if (line <= 0)
|
if (line <= 0)
|
||||||
printInternalError(convertFileName(__FILE__).c_str(), __LINE__);
|
printInternalError(convertFileName(__FILE__).c_str(), __LINE__);
|
||||||
|
|
||||||
intr->setlineNumber(line);
|
intr->setlineNumber(getNextNegativeLineNumber());
|
||||||
st->insertStmtBefore(*intr, *func->funcPointer);
|
st->insertStmtBefore(*intr, *func->funcPointer);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -525,7 +525,7 @@ static void insertIntents(set<string>& identificators, SgStatement* header, cons
|
|||||||
if (args.size())
|
if (args.size())
|
||||||
{
|
{
|
||||||
SgIntentStmt* intent = new SgIntentStmt(*makeExprList(args), *attr);
|
SgIntentStmt* intent = new SgIntentStmt(*makeExprList(args), *attr);
|
||||||
intent->setlineNumber(lastDecl->lineNumber());
|
intent->setlineNumber(getNextNegativeLineNumber());
|
||||||
|
|
||||||
lastDecl->insertStmtAfter(*intent, (header == lastDecl) ? *header : *lastDecl->controlParent());
|
lastDecl->insertStmtAfter(*intent, (header == lastDecl) ? *header : *lastDecl->controlParent());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define VERSION_SPF "2442"
|
#define VERSION_SPF "2443"
|
||||||
|
|||||||
Reference in New Issue
Block a user