]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
pretty_printer: unbreak build on aarch64 [PR115465]
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 12 Jun 2024 18:24:47 +0000 (14:24 -0400)
committerDavid Malcolm <dmalcolm@redhat.com>
Wed, 12 Jun 2024 18:24:47 +0000 (14:24 -0400)
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 <dmalcolm@redhat.com>
gcc/config/aarch64/aarch64-early-ra.cc

index 1e2c823cb2eb47c1c06700708205fe93eb05e3f1..99324423ee5aa31dfa336e17312a0bc1ccd24a19 100644 (file)
@@ -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");