megatest can be executed

This commit is contained in:
Arne Döring
2018-12-03 19:12:59 +01:00
committed by Araq
parent fb1f5c62b5
commit 2a4c09ff88
22 changed files with 150 additions and 130 deletions

View File

@@ -559,7 +559,8 @@ proc genParForStmt(p: BProc, t: PNode) =
initLocExpr(p, call.sons[1], rangeA)
initLocExpr(p, call.sons[2], rangeB)
lineF(p, cpsStmts, "#pragma omp $4$n" &
# $n at the beginning because of #9710
lineF(p, cpsStmts, "$n#pragma omp $4$n" &
"for ($1 = $2; $1 <= $3; ++$1)",
[forLoopVar.loc.rdLoc,
rangeA.rdLoc, rangeB.rdLoc,