summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--polly/lib/Analysis/ScopDetection.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp
index 5d7f0d5a2c6..8c3f2fde7e2 100644
--- a/polly/lib/Analysis/ScopDetection.cpp
+++ b/polly/lib/Analysis/ScopDetection.cpp
@@ -109,7 +109,7 @@ STATISTIC(ValidRegion, "Number of regions that a valid part of Scop");
if (!Context.Verifying) \
++Bad##NAME##ForScop; \
return false; \
- } while (0);
+ } while (0)
#define INVALID_NOVERIFY(NAME, MESSAGE) \
do { \
@@ -124,7 +124,7 @@ STATISTIC(ValidRegion, "Number of regions that a valid part of Scop");
if (!Context.Verifying) \
++Bad##NAME##ForScop; \
return false; \
- } while (0);
+ } while (0)
BADSCOP_STAT(CFG, "CFG too complex");
BADSCOP_STAT(IndVar, "Non canonical induction variable in loop");
@@ -306,7 +306,7 @@ bool ScopDetection::isValidMemoryAccess(Instruction &Inst,
break;
}
- INVALID_NOVERIFY(Alias, OS.str())
+ INVALID_NOVERIFY(Alias, OS.str());
}
return true;
OpenPOWER on IntegriCloud