* cfg.c (dump_bb_info): Print a newline if there were no edges to dump.

From-SVN: r190786
This commit is contained in:
Steven Bosscher 2012-08-29 20:40:53 +00:00
parent 80a676b7bf
commit 1dd5907e5c
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2012-08-29 Steven Bosscher <steven@gcc.gnu.org>
* cfg.c (dump_bb_info): Print a newline if there were no edges to dump.
2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
Revert:

View File

@ -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);
}
}