I missed this target-specific usage of pretty_printer::buffer when
making the fields private in r15-1209-gc5e3be456888aa; sorry.

Verified that this fixes the build breakage with
--target=aarch64-unknown-linux-gnu.

Pushed as r15-1220-ge35f4eab68773b.

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 <dmalc...@redhat.com>
---
 gcc/config/aarch64/aarch64-early-ra.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/aarch64/aarch64-early-ra.cc 
b/gcc/config/aarch64/aarch64-early-ra.cc
index 1e2c823cb2eb..99324423ee5a 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");
-- 
2.26.3

Reply via email to