PR jit/63854: Fix leak of optimization_summary_obstack
gcc/ChangeLog: PR jit/63854 * ipa-reference.c (ipa_reference_c_finalize): Release optimization_summary_obstack. From-SVN: r217797
This commit is contained in:
parent
d5bee0f2af
commit
4c4d052c40
@ -1,3 +1,9 @@
|
||||
2014-11-19 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
PR jit/63854
|
||||
* ipa-reference.c (ipa_reference_c_finalize): Release
|
||||
optimization_summary_obstack.
|
||||
|
||||
2014-11-19 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
PR jit/63854
|
||||
|
@ -1193,5 +1193,9 @@ make_pass_ipa_reference (gcc::context *ctxt)
|
||||
void
|
||||
ipa_reference_c_finalize (void)
|
||||
{
|
||||
ipa_init_p = false;
|
||||
if (ipa_init_p)
|
||||
{
|
||||
bitmap_obstack_release (&optimization_summary_obstack);
|
||||
ipa_init_p = false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user