aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/gimple-ssa-strength-reduction.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 338ae80..7bf7d91 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2016-10-17 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
+
+ * gimple-ssa-strength-reduction.c (record_increment): Remove
+ garbage comment.
+
2016-10-17 Eric Botcazou <ebotcazou@adacore.com>
* expmed.c (expand_shift_1): Add MAY_FAIL parameter and do not assert
diff --git a/gcc/gimple-ssa-strength-reduction.c b/gcc/gimple-ssa-strength-reduction.c
index 2ef5c48..c6bc5a2 100644
--- a/gcc/gimple-ssa-strength-reduction.c
+++ b/gcc/gimple-ssa-strength-reduction.c
@@ -2507,9 +2507,7 @@ record_increment (slsr_cand_t c, widest_int increment, bool is_phi_adjust)
as providing an initializer (if it does); we will revise this
opinion later if it doesn't dominate all other occurrences.
Exception: increments of 0, 1 never need initializers;
- and phi adjustments don't ever provide initializers. Note
- that we only will see an increment of -1 here for pointer
- arithmetic (otherwise we will have an initializer). */
+ and phi adjustments don't ever provide initializers. */
if (c->kind == CAND_ADD
&& !is_phi_adjust
&& c->index == increment