>
> gcc/ChangeLog:
>
> * symbol-summary.h (function_summary_base::unregister_hooks):
> Call disable_insertion_hook and disable_duplication_hook.
> (function_summary_base::symtab_insertion): New field.
> (function_summary_base::symtab_removal): Likewise.
>
On 10/25/20 2:22 PM, Jan Hubicka wrote:
Hi,
the default duplicate and insert methods of sumaries produce empty
summary that is not useful for anything and makes it easy to introduce
bugs.
This patch makes the default hooks to abort and summaries that do not
need dupicaito/insertion disable the
Hi,
the default duplicate and insert methods of sumaries produce empty
summary that is not useful for anything and makes it easy to introduce
bugs.
This patch makes the default hooks to abort and summaries that do not
need dupicaito/insertion disable the corresponding hooks. I also
implemented