diff mbox

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

Message ID CAAgBjMmaHApO_h=XFoi7mswjHd5ZGai1arkJaHfixu0SjtngAg@mail.gmail.com
State New
Headers show

Commit Message

Prathamesh Kulkarni Oct. 3, 2016, 8 p.m. UTC
Bootstrap+test in progress on x86_64-unknown-linux-gnu.
OK to commit if passes ?

Thanks,
Prathamesh
diff mbox

Patch

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)