[PATCH] Fix PR gcov-profile/55551 (issue6868045)

Jan Hubicka hubicka@ucw.cz
Sun Dec 2 09:48:00 GMT 2012


> 2012-12-01  Teresa Johnson  <tejohnson@google.com>
> 
>         PR gcov-profile/55551
> 	* lto-cgraph.c (merge_profile_summaries): Handle scaled histogram
>         entries that map to the same index.
Path is OK.
It would be nice to figure out why you have non-zero runs and sum_max zero.
It is legally possible when you build your main w/o profiling and exit early,
but I would expect this to be bug in Mozilla's FDO build rather than intention.
It can easilly happen when you profile library and load it into something that
do not use it.

Honza



More information about the Gcc-patches mailing list