]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tree-ssa-pre.c (do_regular_insertion): Include the expression in the debugging dump...
authorJeff Law <law@redhat.com>
Sat, 24 Aug 2013 04:48:19 +0000 (22:48 -0600)
committerJeff Law <law@gcc.gnu.org>
Sat, 24 Aug 2013 04:48:19 +0000 (22:48 -0600)
        * 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
gcc/tree-ssa-pre.c

index b35e5f3f2afe161a188ed8004747654ea0984810..cd8b3f6a1de4d47e086a128cd81bbfddc074a0f6 100644 (file)
@@ -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.
index f6928a8c0b3175e923f7a078fde6b8cf78daa04f..56b05734e168a285bee7a1e0f6806269ba4a9efd 100644 (file)
@@ -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;
            }