diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e09ccd684c1..173fc1280cf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-11-19 David Malcolm + + PR jit/63854 + * ipa-reference.c (ipa_reference_c_finalize): Release + optimization_summary_obstack. + 2014-11-19 David Malcolm PR jit/63854 diff --git a/gcc/ipa-reference.c b/gcc/ipa-reference.c index b421f63fcb7..1ce06d126d6 100644 --- a/gcc/ipa-reference.c +++ b/gcc/ipa-reference.c @@ -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; + } }