aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBin Cheng <bin.cheng@arm.com>2015-06-30 02:39:54 +0000
committerBin Cheng <amker@gcc.gnu.org>2015-06-30 02:39:54 +0000
commit7e6a6f0d6e48c84fa704f11e94ee8db207afd01e (patch)
treecbc70ec31cab5c43f1270cdafe213dd9905ab6b3 /gcc
parent005f915e163c548cfe6be2ab9adc5e0625da80a3 (diff)
downloadgcc-7e6a6f0d6e48c84fa704f11e94ee8db207afd01e.zip
gcc-7e6a6f0d6e48c84fa704f11e94ee8db207afd01e.tar.gz
gcc-7e6a6f0d6e48c84fa704f11e94ee8db207afd01e.tar.bz2
tree-ssa-loop-ivopts.c (record_sub_use): Don't reset ssa_name field in struct iv.
* tree-ssa-loop-ivopts.c (record_sub_use): Don't reset ssa_name field in struct iv. From-SVN: r225159
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-ssa-loop-ivopts.c4
2 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2625e4b..96f4f8d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2015-06-30 Bin Cheng <bin.cheng@arm.com>
+
+ * tree-ssa-loop-ivopts.c (record_sub_use): Don't reset ssa_name
+ field in struct iv.
+
2015-06-29 Jack Howarth <howarth.at.gcc@gmail.com>
PR target/66509
diff --git a/gcc/tree-ssa-loop-ivopts.c b/gcc/tree-ssa-loop-ivopts.c
index 1ce275b..282f874 100644
--- a/gcc/tree-ssa-loop-ivopts.c
+++ b/gcc/tree-ssa-loop-ivopts.c
@@ -1386,10 +1386,6 @@ record_sub_use (struct ivopts_data *data, tree *use_p,
pre->next = use;
}
- /* To avoid showing ssa name in the dumps, if it was not reset by the
- caller. */
- iv->ssa_name = NULL_TREE;
-
return use;
}