aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-pre.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2013-08-23 22:48:19 -0600
committerJeff Law <law@gcc.gnu.org>2013-08-23 22:48:19 -0600
commitead69dac2006c72a14ecdac799d24171ab2f25fc (patch)
tree248d9a5489ff194147085a24369ac03554a76a43 /gcc/tree-ssa-pre.c
parentb6e0149fca53ae12732df3079d965cf8e8cbd148 (diff)
downloadgcc-ead69dac2006c72a14ecdac799d24171ab2f25fc.zip
gcc-ead69dac2006c72a14ecdac799d24171ab2f25fc.tar.gz
gcc-ead69dac2006c72a14ecdac799d24171ab2f25fc.tar.bz2
tree-ssa-pre.c (do_regular_insertion): Include the expression in the debugging dump when the expression is fully redundant.
* tree-ssa-pre.c (do_regular_insertion): Include the expression in the debugging dump when the expression is fully redundant. From-SVN: r201963
Diffstat (limited to 'gcc/tree-ssa-pre.c')
-rw-r--r--gcc/tree-ssa-pre.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c
index f6928a8..56b0573 100644
--- a/gcc/tree-ssa-pre.c
+++ b/gcc/tree-ssa-pre.c
@@ -3341,7 +3341,11 @@ do_regular_insertion (basic_block block, basic_block dom)
if (bitmap_set_contains_value (AVAIL_OUT (dom), val))
{
if (dump_file && (dump_flags & TDF_DETAILS))
- fprintf (dump_file, "Found fully redundant value\n");
+ {
+ fprintf (dump_file, "Found fully redundant value: ");
+ print_pre_expr (dump_file, expr);
+ fprintf (dump_file, "\n");
+ }
continue;
}