aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>2016-10-09 18:40:09 +0000
committerPrathamesh Kulkarni <prathamesh3492@gcc.gnu.org>2016-10-09 18:40:09 +0000
commit676b4899d6af647d136b445dc4a4b4d1d1e38e57 (patch)
treef008c6a820265aeac7cdae7528b7d1e39e87f770 /gcc
parentb9233944298c0975a7cab3b1053c3ea388e9fd15 (diff)
downloadgcc-676b4899d6af647d136b445dc4a4b4d1d1e38e57.zip
gcc-676b4899d6af647d136b445dc4a4b4d1d1e38e57.tar.gz
gcc-676b4899d6af647d136b445dc4a4b4d1d1e38e57.tar.bz2
ipa-prop.c (ipcp_transform_function): Set fields m_vr and bits to NULL of (*ipcp_transformations)][node->uid].
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/ipa-prop.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a6ef0f41..cef7679 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c
index e2d3ead..a1d7619 100644
--- a/gcc/ipa-prop.c
+++ b/gcc/ipa-prop.c
@@ -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)