* pph-streamer-out.c (pph_out_tree_1): Do not call pph_trace_tree
        unless flag_pph_tracer is set.


diff --git a/gcc/cp/pph-streamer-out.c b/gcc/cp/pph-streamer-out.c
index e337a31..d534b42 100644
--- a/gcc/cp/pph-streamer-out.c
+++ b/gcc/cp/pph-streamer-out.c
@@ -1916,7 +1916,8 @@ pph_out_tree_1 (pph_stream *stream, tree expr, bool 
mergeable)
     }
   else if (marker == PPH_RECORD_START || marker == PPH_RECORD_START_MUTATED)
     {
-      pph_trace_tree (expr, mergeable);
+      if (flag_pph_tracer)
+       pph_trace_tree (expr, mergeable);
 
       /* This is the first time we see EXPR, write it out.  */
       if (marker == PPH_RECORD_START)
-- 
1.7.3.1


--
This patch is available for review at http://codereview.appspot.com/5274043

Reply via email to