summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoramker <amker@138bc75d-0d04-0410-961f-82ee72b054a4>2015-06-30 02:39:54 +0000
committeramker <amker@138bc75d-0d04-0410-961f-82ee72b054a4>2015-06-30 02:39:54 +0000
commitb9d66f8d6f14445944c43c3e5410c5735f2d3b6a (patch)
treecbc70ec31cab5c43f1270cdafe213dd9905ab6b3
parentb3f7a35351e062c422203e3c402a2b745ec24519 (diff)
downloadgcc-b9d66f8d6f14445944c43c3e5410c5735f2d3b6a.tar.gz
* tree-ssa-loop-ivopts.c (record_sub_use): Don't reset ssa_name
field in struct iv. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225159 138bc75d-0d04-0410-961f-82ee72b054a4
-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 2625e4b7938..96f4f8dad70 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 1ce275b096b..282f8740335 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;
}