Skip to content
Snippets Groups Projects
Commit e3e968e9 authored by Martin Liska's avatar Martin Liska Committed by Martin Liska
Browse files

IPA ICF: Fix late initialization of callgraph hooks.

	* g++.dg/ipa/pr64858.C: New test.
	* ipa-icf.c (sem_item_optimizer::register_hooks): Register hooks
	just if not yet registered.
	(ipa_icf_generate_summary): Register callgraph hooks.

From-SVN: r220531
parent 62e0e086
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment