diff mbox series

Add line returns in RTL dump file

Message ID 3047014.fUiR5puZNO@arcturus.home
State New
Headers show
Series Add line returns in RTL dump file | expand

Commit Message

Eric Botcazou Aug. 1, 2019, 9:02 p.m. UTC
Tested on x86_64-suse-linux, applied on the mainline.


2019-08-01  Eric Botcazou  <ebotcazou@adacore.com>

	* cfgrtl.c (relink_block_chain): Add line returns in dump file.
diff mbox series

Patch

Index: cfgrtl.c
===================================================================
--- cfgrtl.c	(revision 273907)
+++ cfgrtl.c	(working copy)
@@ -3703,13 +3703,13 @@  relink_block_chain (bool stay_in_cfglayout_mode)
 	{
 	  fprintf (dump_file, " %i ", index);
 	  if (get_bb_original (bb))
-	    fprintf (dump_file, "duplicate of %i ",
+	    fprintf (dump_file, "duplicate of %i\n",
 		     get_bb_original (bb)->index);
 	  else if (forwarder_block_p (bb)
 		   && !LABEL_P (BB_HEAD (bb)))
-	    fprintf (dump_file, "compensation ");
+	    fprintf (dump_file, "compensation\n");
 	  else
-	    fprintf (dump_file, "bb %i ", bb->index);
+	    fprintf (dump_file, "bb %i\n", bb->index);
 	}
     }