tree-ssa-loop-ivopts.c (record_sub_use): Don't reset ssa_name field in struct iv.
authorBin Cheng <bin.cheng@arm.com>
Tue, 30 Jun 2015 02:39:54 +0000 (02:39 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Tue, 30 Jun 2015 02:39:54 +0000 (02:39 +0000)
* tree-ssa-loop-ivopts.c (record_sub_use): Don't reset ssa_name
field in struct iv.

From-SVN: r225159

gcc/ChangeLog
gcc/tree-ssa-loop-ivopts.c

index 2625e4b793827b39e0caab0f1ad4962a55ab1071..96f4f8dad705c0322582f134c36d6c8634e5382e 100644 (file)
@@ -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
index 1ce275b096b6b8d936b9851dadc030c1efdd6bf3..282f8740335855908a068e8eebc6d4f31b83dd19 100644 (file)
@@ -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;
 }