diff --git a/polly/lib/Analysis/ScopDetectionDiagnostic.cpp b/polly/lib/Analysis/ScopDetectionDiagnostic.cpp index 8f8401af56b9..b2b566bdffd0 100644 --- a/polly/lib/Analysis/ScopDetectionDiagnostic.cpp +++ b/polly/lib/Analysis/ScopDetectionDiagnostic.cpp @@ -443,7 +443,7 @@ std::string ReportAlias::formatInvalidAlias(std::string Prefix, assert(V && "Diagnostic info does not match found LLVM-IR anymore."); if (V->getName().size() == 0) - OS << "\"" << *V << "\""; + OS << "\" \""; else OS << "\"" << V->getName() << "\"";