aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfg.c
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2014-04-15 15:12:00 +0000
committerTeresa Johnson <tejohnson@gcc.gnu.org>2014-04-15 15:12:00 +0000
commitd00e4baae7c2518ebe24cfc8536b52354096d562 (patch)
tree4d721163e9a4949de2ee44779574494863ee58ae /gcc/cfg.c
parentfe9208efaf5a745526539330b3353418ab711d7d (diff)
downloadgcc-d00e4baae7c2518ebe24cfc8536b52354096d562.zip
gcc-d00e4baae7c2518ebe24cfc8536b52354096d562.tar.gz
gcc-d00e4baae7c2518ebe24cfc8536b52354096d562.tar.bz2
cfg.c (dump_bb_info): Fix flags check.
2014-04-15 Teresa Johnson <tejohnson@google.com> * cfg.c (dump_bb_info): Fix flags check. * tree-cfg.c (remove_bb): Only dump TDF_BLOCKS when removing. 2014-04-15 Teresa Johnson <tejohnson@google.com> * gcc.dg/tree-prof/update-loopch.c: Update expected output. From-SVN: r209421
Diffstat (limited to 'gcc/cfg.c')
-rw-r--r--gcc/cfg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cfg.c b/gcc/cfg.c
index a281c0f..3b6349a 100644
--- a/gcc/cfg.c
+++ b/gcc/cfg.c
@@ -743,11 +743,10 @@ dump_bb_info (FILE *outf, basic_block bb, int indent, int flags,
fputs (", probably never executed", outf);
}
fputc ('\n', outf);
- if (TDF_DETAILS)
- check_bb_profile (bb, outf, indent, flags);
if (flags & TDF_DETAILS)
{
+ check_bb_profile (bb, outf, indent, flags);
if (flags & TDF_COMMENT)
fputs (";; ", outf);
fprintf (outf, "%s prev block ", s_indent);