summaryrefslogtreecommitdiff
path: root/gcc/cfghooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cfghooks.c')
-rw-r--r--gcc/cfghooks.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/cfghooks.c b/gcc/cfghooks.c
index 69655390102..be117cfbacf 100644
--- a/gcc/cfghooks.c
+++ b/gcc/cfghooks.c
@@ -271,9 +271,11 @@ verify_flow_info (void)
void
dump_bb (FILE *outf, basic_block bb, int indent, int flags)
{
- dump_bb_info (outf, bb, indent, flags | TDF_COMMENT, true, true);
+ dump_bb_info (outf, bb, indent, flags, true, false);
if (cfg_hooks->dump_bb)
cfg_hooks->dump_bb (outf, bb, indent, flags);
+ dump_bb_info (outf, bb, indent, flags, false, true);
+ fputc ('\n', outf);
}
/* Dump the complete CFG to FILE. FLAGS are the TDF_* flags in dumpfile.h. */
@@ -284,10 +286,7 @@ dump_flow_info (FILE *file, int flags)
fprintf (file, "\n%d basic blocks, %d edges.\n", n_basic_blocks, n_edges);
FOR_ALL_BB (bb)
- {
- dump_bb (file, bb, 0, flags);
- check_bb_profile (bb, file);
- }
+ dump_bb (file, bb, 0, flags);
putc ('\n', file);
}