aboutsummaryrefslogtreecommitdiff
path: root/libcpp/line-map.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-12-04 21:11:04 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-12-04 21:11:04 +0000
commit953971cf7dd11ab68caec04cae767f5dde656b23 (patch)
tree66c55eb5136f95f1adbef64e69d922fc0b3b6a35 /libcpp/line-map.c
parentef9f382ca52a80bb8575d73d7cc8d3ddbf5f7ad7 (diff)
downloadgcc-953971cf7dd11ab68caec04cae767f5dde656b23.zip
gcc-953971cf7dd11ab68caec04cae767f5dde656b23.tar.gz
gcc-953971cf7dd11ab68caec04cae767f5dde656b23.tar.bz2
PR jit/63854: Fix leak of ipa hooks
gcc/ChangeLog: PR jit/63854 * ipa-prop.c (ipa_register_cgraph_hooks): Guard insertion of ipa_add_new_function on function_insertion_hook_holder being non-NULL. * ipa-reference.c (ipa_reference_c_finalize): Remove node_removal_hook_holder and node_duplication_hook_holder if they've been added to symtab. * toplev.c (toplev::finalize): Call ipa_reference_c_finalize before cgraph_c_finalize so that the former can access "symtab". From-SVN: r218403
Diffstat (limited to 'libcpp/line-map.c')
0 files changed, 0 insertions, 0 deletions