Hi,

lack of white space breakes the tree-visualisation structure and makes
the dump unnecessarily difficult to read.

I have bootstrapped and tested the patch on x86_64-linux.  I plan to
commit it soon as obvious.

Thanks,

Martin


gcc/ChangeLog:

2025-05-19  Martin Jambor  <mjam...@suse.cz>

        * ipa-prop.cc (ipa_dump_jump_function): Fix whitespace when
        dumping IPA VRs.
---
 gcc/ipa-prop.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/ipa-prop.cc b/gcc/ipa-prop.cc
index 0398d69962f..24a538034e3 100644
--- a/gcc/ipa-prop.cc
+++ b/gcc/ipa-prop.cc
@@ -542,6 +542,7 @@ ipa_dump_jump_function (FILE *f, ipa_jump_func *jump_func,
 
   if (jump_func->m_vr)
     {
+      fprintf (f, "         ");
       jump_func->m_vr->dump (f);
       fprintf (f, "\n");
     }
-- 
2.49.0

Reply via email to