Fix IPA crash in libgccjit
authorDavid Malcolm <dmalcolm@redhat.com>
Thu, 21 Jun 2018 13:44:38 +0000 (13:44 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Thu, 21 Jun 2018 13:44:38 +0000 (13:44 +0000)
commite67343d7445768ef22523894ec589791f526234c
tree509668c58bbb866feb8ad46e0b2cf471d68682c6
parentd22d74e09dc48d1bffbcfd467fffaad7465d8676
Fix IPA crash in libgccjit

gcc/ChangeLog:
* ipa-cp.c (ipcp_driver): Set edge_clone_summaries to NULL after
deleting it.
* ipa-reference.c (ipa_reference_c_finalize): Delete
ipa_ref_opt_sum_summaries and set it to NULL.

From-SVN: r261846
gcc/ChangeLog
gcc/ipa-cp.c
gcc/ipa-reference.c