aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2016-11-14 15:22:10 +0100
committerMartin Liska <marxin@gcc.gnu.org>2016-11-14 14:22:10 +0000
commitebd9509a2db178fbdb20a8fdce7327a1bbdcee05 (patch)
treeef90f8461d210f78e7f7b0ba89923a5eda7b3758 /gcc
parentbc08ecba2b3530944a9fd03acc90aa7cd5289bd1 (diff)
downloadgcc-ebd9509a2db178fbdb20a8fdce7327a1bbdcee05.zip
gcc-ebd9509a2db178fbdb20a8fdce7327a1bbdcee05.tar.gz
gcc-ebd9509a2db178fbdb20a8fdce7327a1bbdcee05.tar.bz2
Fix dump output in dse_optimize_stmt
* tree-ssa-dse.c (dse_optimize_stmt): Remove quotes and extra new line. From-SVN: r242389
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-ssa-dse.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4fea346..3b9c8ac 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2016-11-14 Martin Liska <mliska@suse.cz>
+
+ * tree-ssa-dse.c (dse_optimize_stmt): Remove quotes and extra
+ new line.
+
2016-11-14 Prasad Ghangal <prasad.ghangal@gmail.com>
Richard Biener <rguenther@suse.de>
diff --git a/gcc/tree-ssa-dse.c b/gcc/tree-ssa-dse.c
index 372a0be..778b363 100644
--- a/gcc/tree-ssa-dse.c
+++ b/gcc/tree-ssa-dse.c
@@ -236,9 +236,9 @@ dse_optimize_stmt (gimple_stmt_iterator *gsi)
if (dump_file && (dump_flags & TDF_DETAILS))
{
- fprintf (dump_file, " Deleted dead call '");
+ fprintf (dump_file, " Deleted dead call: ");
print_gimple_stmt (dump_file, gsi_stmt (*gsi), dump_flags, 0);
- fprintf (dump_file, "'\n");
+ fprintf (dump_file, "\n");
}
tree lhs = gimple_call_lhs (stmt);
@@ -292,9 +292,9 @@ dse_optimize_stmt (gimple_stmt_iterator *gsi)
if (dump_file && (dump_flags & TDF_DETAILS))
{
- fprintf (dump_file, " Deleted dead store '");
+ fprintf (dump_file, " Deleted dead store: ");
print_gimple_stmt (dump_file, gsi_stmt (*gsi), dump_flags, 0);
- fprintf (dump_file, "'\n");
+ fprintf (dump_file, "\n");
}
/* Then we need to fix the operand of the consuming stmt. */