[gcc r15-1220] pretty_printer: unbreak build on aarch64 [PR115465]
David Malcolm
dmalcolm@gcc.gnu.org
Wed Jun 12 18:25:33 GMT 2024
https://gcc.gnu.org/g:e35f4eab68773b08324f9784ca69f8ace3c657cc
commit r15-1220-ge35f4eab68773b08324f9784ca69f8ace3c657cc
Author: David Malcolm <dmalcolm@redhat.com>
Date: Wed Jun 12 14:24:47 2024 -0400
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 <dmalcolm@redhat.com>
Diff:
---
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");
More information about the Gcc-cvs
mailing list