]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ipa: Fix whitespace when dumping VR in jump_functions
authorMartin Jambor <mjambor@suse.cz>
Thu, 29 May 2025 14:32:04 +0000 (16:32 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Thu, 29 May 2025 14:32:41 +0000 (16:32 +0200)
Lack of white space breakes the tree-visualisation structure and makes
the dump unnecessarily difficult to read.

gcc/ChangeLog:

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

* ipa-prop.cc (ipa_dump_jump_function): Fix whitespace when
dumping IPA VRs.

gcc/ipa-prop.cc

index 0398d69962f85b2040330c3a13130e93617da9e2..24a538034e31f05902e823e05e02761d954d2315 100644 (file)
@@ -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");
     }