Added better handling of outdated profile data. (issue 5989046)

asharif@chromium.org asharif@chromium.org
Mon Jul 9 13:24:00 GMT 2012


On 2012/04/24 22:14:17, asharif wrote:
> Ping?

Ping.

I also filed a bug here:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53547


> Here is the formatted ChangeLog in case you want a summary of what I
did:

> * gcc/ipa-inline.c (edge_badness): Make sure profile is valid before
> using it to compute badness.
> * gcc/predict.c (maybe_hot_frequency_p): Ditto.
> (cgraph_maybe_hot_edge_p): Ditto.
> (maybe_hot_edge_p): Ditto.
> (probably_never_executed_bb_p): Ditto.
> (compute_function_frequency): Ditto.
> * gcc/profile.c (compute_branch_probabilities): Return without setting
> the profile read flag if get_exec_counts returns NULL.
> * gcc/tree.h: Added macro for accessing profile status.

> The patch is in the original email and on the codereview issue
> (http://codereview.appspot.com/5989046/).


http://codereview.appspot.com/5989046/



More information about the Gcc-patches mailing list