aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfg.c
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2012-08-29 20:40:53 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2012-08-29 20:40:53 +0000
commit1dd5907e5c038c3d996215835d1cc35899e0b626 (patch)
tree0a2ee83da46f562a0350cf98af28a8d074282b8e /gcc/cfg.c
parent80a676b7bf25db63f0678d845164be8d9105b0d3 (diff)
downloadgcc-1dd5907e5c038c3d996215835d1cc35899e0b626.zip
gcc-1dd5907e5c038c3d996215835d1cc35899e0b626.tar.gz
gcc-1dd5907e5c038c3d996215835d1cc35899e0b626.tar.bz2
* cfg.c (dump_bb_info): Print a newline if there were no edges to dump.
From-SVN: r190786
Diffstat (limited to 'gcc/cfg.c')
-rw-r--r--gcc/cfg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cfg.c b/gcc/cfg.c
index 3f14d49..eaf5863 100644
--- a/gcc/cfg.c
+++ b/gcc/cfg.c
@@ -764,6 +764,8 @@ dump_bb_info (FILE *outf, basic_block bb, int indent, int flags,
dump_edge_info (outf, e, flags, 0);
fputc ('\n', outf);
}
+ if (first)
+ fputc ('\n', outf);
}
if (do_footer)
@@ -784,6 +786,8 @@ dump_bb_info (FILE *outf, basic_block bb, int indent, int flags,
dump_edge_info (outf, e, flags, 1);
fputc ('\n', outf);
}
+ if (first)
+ fputc ('\n', outf);
}
}