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
Showing
gcc/testsuite/g++.dg/ipa/pr64858.C
0 → 100644
Please
register
or
sign in
to comment