r204704 - in /trunk/gcc: ChangeLog predict.c pr...
tejohnson@gcc.gnu.org
tejohnson@gcc.gnu.org
Tue Nov 12 15:03:00 GMT 2013
Author: tejohnson
Date: Tue Nov 12 15:03:28 2013
New Revision: 204704
URL: http://gcc.gnu.org/viewcvs?rev=204704&root=gcc&view=rev
Log:
2013-11-12 Teresa Johnson <tejohnson@google.com>
Jan Hubicka <jh@suse.cz>
* predict.c (drop_profile): New function.
(handle_missing_profiles): Ditto.
(counts_to_freqs): Don't overwrite estimated frequencies
when function has no profile counts.
* predict.h (handle_missing_profiles): Declare.
* tree-inline.c (freqs_to_counts): New function.
(copy_cfg_body): Invoke freqs_to_counts as needed.
* tree-profile.c (tree_profiling): Invoke handle_missing_profiles.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/predict.c
trunk/gcc/predict.h
trunk/gcc/tree-inline.c
trunk/gcc/tree-profile.c
More information about the Gcc-cvs
mailing list