r248885 - in /trunk/gcc: ChangeLog cfgexpand.c ...

hubicka@gcc.gnu.org hubicka@gcc.gnu.org
Mon Jun 5 17:41:00 GMT 2017


Author: hubicka
Date: Mon Jun  5 17:41:32 2017
New Revision: 248885

URL: https://gcc.gnu.org/viewcvs?rev=248885&root=gcc&view=rev
Log:

	* cfgexpand.c (expand_gimple_tailcall): Initialize profile of
	new edge.
	* ipa-inline.c (want_inline_self_recursive_call_p): Watch for missing
	profile in callgraph edge.
	* profile-count.h (apply_probability): If THIS is 0, then result is 0
	(apply_scale): Likewise.
	* tree-inline.c (copy_bb, copy_edges_for_bb, copy_cfg_body):
	Also scale profile when inlining function with zero profile.
	(initialize_cfun): Update exit block profile even when it is zero.
	* tree-ssa-threadupdate.c (clear_counts_path): Handle correctly case
	when profile is read.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfgexpand.c
    trunk/gcc/ipa-inline.c
    trunk/gcc/profile-count.h
    trunk/gcc/shrink-wrap.c
    trunk/gcc/tree-inline.c
    trunk/gcc/tree-ssa-threadupdate.c



More information about the Gcc-cvs mailing list