From ead69dac2006c72a14ecdac799d24171ab2f25fc Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Fri, 23 Aug 2013 22:48:19 -0600 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/tree-ssa-pre.c | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b35e5f3f2af..cd8b3f6a1de 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-08-23 Jeff Law + + * tree-ssa-pre.c (do_regular_insertion): Include the expression in + the debugging dump when the expression is fully redundant. + 2013-08-23 Gabriel Dos Reis * diagnostic.c (diagnostic_set_caret_max_width): Use pp_buffer. diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index f6928a8c0b3..56b05734e16 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; } -- 2.30.2