This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r220531 - in /trunk/gcc: ChangeLog ipa-icf.c te...


Author: marxin
Date: Mon Feb  9 10:31:14 2015
New Revision: 220531

URL: https://gcc.gnu.org/viewcvs?rev=220531&root=gcc&view=rev
Log:
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.


Added:
    trunk/gcc/testsuite/g++.dg/ipa/pr64858.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-icf.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]