From: Jeff Law Date: Sat, 24 Aug 2013 04:48:19 +0000 (-0600) Subject: tree-ssa-pre.c (do_regular_insertion): Include the expression in the debugging dump... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ead69dac2006c72a14ecdac799d24171ab2f25fc;p=gcc.git 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 --- 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; }