r158788 - in /trunk/gcc: ChangeLog cgraph.c com...
hubicka@gcc.gnu.org
hubicka@gcc.gnu.org
Tue Apr 27 14:56:00 GMT 2010
Author: hubicka
Date: Tue Apr 27 14:56:33 2010
New Revision: 158788
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158788
Log:
* doc/invoke.texi (-fipa-profile): Document.
* opts.c (decode_options): Enable ipa-profile at -O1.
* timevar.def (TV_IPA_PROFILE): Define.
* common.opt (fipa-profile): Add.
* cgraph.c (cgraph_clone_node): Set local flag and clear vtable method flag
for clones.
(cgraph_propagate_frequency): Handle only local ones.
* tree-pass.h (pass_ipa_profile): Declare.
* ipa-profile.c (gate_profile): Use flag_ipa_profile.
(pass_ipa_profile): Use TV_IPA_PROFILE.
* ipa.c (ipa_profile): New function.
(gate_ipa_profile): Likewise.
(pass_ipa_profile): New global variable.
* passes.c (pass_ipa_profile): New.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cgraph.c
trunk/gcc/common.opt
trunk/gcc/doc/invoke.texi
trunk/gcc/ipa.c
trunk/gcc/opts.c
trunk/gcc/passes.c
trunk/gcc/timevar.def
trunk/gcc/tree-pass.h
More information about the Gcc-cvs
mailing list