aboutsummaryrefslogtreecommitdiff
path: root/gcc/analyzer/call-summary.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/analyzer/call-summary.cc')
-rw-r--r--gcc/analyzer/call-summary.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/analyzer/call-summary.cc b/gcc/analyzer/call-summary.cc
index 46b4e2a3bbd..ec36fdfd9f1 100644
--- a/gcc/analyzer/call-summary.cc
+++ b/gcc/analyzer/call-summary.cc
@@ -149,7 +149,7 @@ call_summary::dump (const extrinsic_state &ext_state,
pretty_printer pp;
pp_format_decoder (&pp) = default_tree_printer;
pp_show_color (&pp) = pp_show_color (global_dc->printer);
- pp.buffer->stream = fp;
+ pp.set_output_stream (fp);
dump_to_pp (ext_state, &pp, simple);
pp_flush (&pp);
}
@@ -890,7 +890,7 @@ call_summary_replay::dump (FILE *fp, bool simple) const
pretty_printer pp;
pp_format_decoder (&pp) = default_tree_printer;
pp_show_color (&pp) = pp_show_color (global_dc->printer);
- pp.buffer->stream = fp;
+ pp.set_output_stream (fp);
dump_to_pp (&pp, simple);
pp_flush (&pp);
}