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 a6ef0f414fb3da3fa8c94123d98ebe7070f692a8..cef7679852ecbb70fb804b06815d429c0048b9e7 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 e2d3ead065c16277a2d364d86200b3f26d11695a..a1d761900f162d259944dadf2eab5d608f7d83a4 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)