summaryrefslogtreecommitdiff
path: root/gcc/ipa-profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ipa-profile.c')
-rw-r--r--gcc/ipa-profile.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/ipa-profile.c b/gcc/ipa-profile.c
index 670d9e2fb73..8c5502bcc88 100644
--- a/gcc/ipa-profile.c
+++ b/gcc/ipa-profile.c
@@ -1023,6 +1023,9 @@ ipa_profile (void)
if (dump_file && (dump_flags & TDF_DETAILS))
symtab->dump (dump_file);
+ delete call_sums;
+ call_sums = NULL;
+
return 0;
}