Hi,

The attached patch fixes a bug of "lib/Analysis/GRSimpleVals.cpp"
Index: lib/Analysis/GRSimpleVals.cpp
===================================================================
--- lib/Analysis/GRSimpleVals.cpp       (revision 49048)
+++ lib/Analysis/GRSimpleVals.cpp       (working copy)
@@ -76,10 +76,12 @@
                  ITERATOR I, ITERATOR E, const char* msg) {
  
   std::ostringstream Out;
+  std::string Str;
 
   if (!PD) {
     Out << "[CHECKER] " << msg;
-    msg = Out.str().c_str();
+    Str = Out.str();
+    msg = Str.c_str();
   }
   
   bool isFirst = true;
_______________________________________________
cfe-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

Reply via email to