ipa-prop.c (ipcp_transform_function): Set fields m_vr and bits to NULL of (*ipcp_tran...
authorPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
Sun, 9 Oct 2016 18:40:09 +0000 (18:40 +0000)
committerPrathamesh Kulkarni <prathamesh3492@gcc.gnu.org>
Sun, 9 Oct 2016 18:40:09 +0000 (18:40 +0000)
2016-10-09  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>

* ipa-prop.c (ipcp_transform_function): Set fields m_vr and bits to NULL of
(*ipcp_transformations)][node->uid].

From-SVN: r240903

gcc/ChangeLog
gcc/ipa-prop.c

index a6ef0f4..cef7679 100644 (file)
@@ -1,3 +1,8 @@
+2016-10-09  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
+
+       * ipa-prop.c (ipcp_transform_function): Set fields m_vr and bits to NULL of
+       (*ipcp_transformations)][node->uid].
+
 2016-10-09  John David Anglin  <danglin@gcc.gnu.org>
 
        * config/pa/pa.h (BIGGEST_ALIGNMENT): Adjust comment.
index e2d3ead..a1d7619 100644 (file)
@@ -5677,6 +5677,9 @@ ipcp_transform_function (struct cgraph_node *node)
   fbi.bb_infos.release ();
   free_dominance_info (CDI_DOMINATORS);
   (*ipcp_transformations)[node->uid].agg_values = NULL;
+  (*ipcp_transformations)[node->uid].bits = NULL;
+  (*ipcp_transformations)[node->uid].m_vr = NULL;
+
   descriptors.release ();
 
   if (!something_changed)