aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2012-02-07 12:10:11 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2012-02-07 12:10:11 +0000
commitb1edf2bc09f80f488820b2248ad4986b5b271986 (patch)
treedc554b4c6b70bbda6d76bf796c000bc6880d8359 /gcc
parentbe648db7d0f6b1c29d1005dec130b3ef6a348ab3 (diff)
downloadgcc-b1edf2bc09f80f488820b2248ad4986b5b271986.zip
gcc-b1edf2bc09f80f488820b2248ad4986b5b271986.tar.gz
gcc-b1edf2bc09f80f488820b2248ad4986b5b271986.tar.bz2
gimple-pretty-print.c (dump_gimple_phi): Avoid excessive newline in -alias dumps.
2012-02-07 Richard Guenther <rguenther@suse.de> * gimple-pretty-print.c (dump_gimple_phi): Avoid excessive newline in -alias dumps. From-SVN: r183966
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/gimple-pretty-print.c8
2 files changed, 10 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e6c0384..117e87b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2012-02-07 Richard Guenther <rguenther@suse.de>
+
+ * gimple-pretty-print.c (dump_gimple_phi): Avoid excessive
+ newline in -alias dumps.
+
2012-02-07 Kai Tietz <ktietz@redhat.com>
Dave Korn <dave.korn.cygwin@gmail.com>
diff --git a/gcc/gimple-pretty-print.c b/gcc/gimple-pretty-print.c
index 3ba7183..7b29aa6 100644
--- a/gcc/gimple-pretty-print.c
+++ b/gcc/gimple-pretty-print.c
@@ -1595,9 +1595,11 @@ dump_gimple_phi (pretty_printer *buffer, gimple phi, int spc, int flags)
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, "# ");
}