> > > My patch hacks in a removal of them into ipa_reference_c_finalize, but > > > I suspect there's a cleaner place to put this. > > > > > > 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". > > I'm going to let Jan own this one. > > > > jeff > > Jan: please can you have a look at this one; patch can be seen at: > https://gcc.gnu.org/ml/gcc-patches/2014-11/msg02415.html
Patch is OK, thanks! I hope some of this mess will go away soon with Martin's summary reorg. Honza > > > Thanks > Dave