From: David Malcolm Date: Wed, 12 Jun 2024 18:24:47 +0000 (-0400) Subject: pretty_printer: unbreak build on aarch64 [PR115465] X-Git-Tag: basepoints/gcc-16~8333 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e35f4eab68773b08324f9784ca69f8ace3c657cc;p=thirdparty%2Fgcc.git pretty_printer: unbreak build on aarch64 [PR115465] I missed this target-specific usage of pretty_printer::buffer when making the fields private in r15-1209-gc5e3be456888aa; sorry. gcc/ChangeLog: PR bootstrap/115465 * config/aarch64/aarch64-early-ra.cc (early_ra::process_block): Update for fields of pretty_printer becoming private in r15-1209-gc5e3be456888aa. Signed-off-by: David Malcolm --- diff --git a/gcc/config/aarch64/aarch64-early-ra.cc b/gcc/config/aarch64/aarch64-early-ra.cc index 1e2c823cb2e..99324423ee5 100644 --- a/gcc/config/aarch64/aarch64-early-ra.cc +++ b/gcc/config/aarch64/aarch64-early-ra.cc @@ -3446,7 +3446,7 @@ early_ra::process_block (basic_block bb, bool is_isolated) fprintf (dump_file, "\nBlock %d:\n", bb->index); fprintf (dump_file, "%6d:", m_current_point); pretty_printer rtl_slim_pp; - rtl_slim_pp.buffer->stream = dump_file; + rtl_slim_pp.set_output_stream (dump_file); print_insn (&rtl_slim_pp, insn, 1); pp_flush (&rtl_slim_pp); fprintf (dump_file, "\n");