Patchwork Avoid excessive newline in -alias dumps

login
register
mail settings
Submitter Richard Guenther
Date Feb. 7, 2012, 12:05 p.m.
Message ID <alpine.LNX.2.00.1202071304210.4999@zhemvz.fhfr.qr>
Download mbox | patch
Permalink /patch/139905/
State New
Headers show

Comments

Richard Guenther - Feb. 7, 2012, 12:05 p.m.
Committed as obvious.

Richard.

2012-02-07  Richard Guenther  <rguenther@suse.de>

	* gimple-pretty-print.c (dump_gimple_phi): Avoid excessive
	newline in -alias dumps.

Patch

Index: gcc/gimple-pretty-print.c
===================================================================
--- gcc/gimple-pretty-print.c	(revision 183959)
+++ gcc/gimple-pretty-print.c	(working copy)
@@ -1595,9 +1595,11 @@  dump_gimple_phi (pretty_printer *buffer,
       pp_points_to_solution (buffer, &pi->pt);
       newline_and_indent (buffer, spc);
       if (pi->align != 1)
-	pp_printf (buffer, "# ALIGN = %u, MISALIGN = %u",
-		   pi->align, pi->misalign);
-      newline_and_indent (buffer, spc);
+	{
+	  pp_printf (buffer, "# ALIGN = %u, MISALIGN = %u",
+		     pi->align, pi->misalign);
+	  newline_and_indent (buffer, spc);
+	}
       pp_string (buffer, "# ");
     }