[ipa-prop] set m_vr and bits to NULL in ipcp_transform_function

Prathamesh Kulkarni prathamesh.kulkarni@linaro.org
Mon Oct 3 20:00:00 GMT 2016


Bootstrap+test in progress on x86_64-unknown-linux-gnu.
OK to commit if passes ?

Thanks,
Prathamesh
-------------- next part --------------
diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c
index 5ed9bbf..d71ffcf 100644
--- a/gcc/ipa-prop.c
+++ b/gcc/ipa-prop.c
@@ -5667,6 +5667,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)


More information about the Gcc-patches mailing list