Avoid excessive newline in -alias dumps

Submitted by Richard Guenther on Feb. 7, 2012, 12:05 p.m.

Details

Message ID alpine.LNX.2.00.1202071304210.4999@zhemvz.fhfr.qr
State New
Headers show

Commit Message

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 hide | download patch | download mbox

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, "# ");
     }