diff options
author | Jeff Law <law@redhat.com> | 2013-08-23 22:48:19 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2013-08-23 22:48:19 -0600 |
commit | ead69dac2006c72a14ecdac799d24171ab2f25fc (patch) | |
tree | 248d9a5489ff194147085a24369ac03554a76a43 /gcc | |
parent | b6e0149fca53ae12732df3079d965cf8e8cbd148 (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-ssa-pre.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b35e5f3..cd8b3f6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-08-23 Jeff Law <law@redhat.com> + + * 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 <gdr@integrable-solutions.net> * 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 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; } |