summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>2017-09-15 08:19:50 +0000
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>2017-09-15 08:19:50 +0000
commit3ab1cdb039e25b001c87017ad235947fede5b5bb (patch)
treeee310bee7f0483ab710566c14f36f4307a3e44b2
parent0c0e81b4abf9923a0698c3679660c24b39dcb776 (diff)
downloadgcc-3ab1cdb039e25b001c87017ad235947fede5b5bb.tar.gz
Fix backport.
2017-09-15 Martin Liska <mliska@suse.cz> Backport from mainline 2017-09-14 Martin Liska <mliska@suse.cz> * gimple-ssa-strength-reduction.c (create_add_on_incoming_edge): Add proper printf format. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@252790 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/gimple-ssa-strength-reduction.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e2377da7025..9f6892bac9b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,6 +1,14 @@
2017-09-15 Martin Liska <mliska@suse.cz>
Backport from mainline
+ 2017-09-14 Martin Liska <mliska@suse.cz>
+
+ * gimple-ssa-strength-reduction.c (create_add_on_incoming_edge):
+ Add proper printf format.
+
+2017-09-15 Martin Liska <mliska@suse.cz>
+
+ Backport from mainline
2017-08-30 Martin Liska <mliska@suse.cz>
PR inline-asm/82001
diff --git a/gcc/gimple-ssa-strength-reduction.c b/gcc/gimple-ssa-strength-reduction.c
index 4cb9137dcf0..c28a17ba3f0 100644
--- a/gcc/gimple-ssa-strength-reduction.c
+++ b/gcc/gimple-ssa-strength-reduction.c
@@ -2278,7 +2278,7 @@ create_add_on_incoming_edge (slsr_cand_t c, tree basis_name,
e->src->index, e->dest->index);
print_gimple_stmt (dump_file, cast_stmt, 0, 0);
}
- fprintf (dump_file, "Inserting in block %d: ", e->src->index,
+ fprintf (dump_file, "Inserting on edge %d->%d: ", e->src->index,
e->dest->index);
print_gimple_stmt (dump_file, new_stmt, 0, 0);
}