http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760
--- Comment #14 from Jan Hubicka <hubicka at gcc dot gnu.org> 2010-12-04 19:35:27 UTC --- Author: hubicka Date: Sat Dec 4 19:35:23 2010 New Revision: 167458 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167458 Log: PR tree-optimization/46760 * cgraph.c (cgraph_create_node): Initialize count_materialization_scale. * cgraph.h (struct cgraph_node): Add count_materialization_scale. * lto-cgraph.c (lto_output_edge): Fix assert. (lto_output_node): Output count_materialization_scale. (output_profile_summary): Output only runs and sum_max. (input_node): Input count_materialization_scale. (input_profile_summary): Read data into file specific gcov summary. (merge_profile_summaries): New function. (input_cgraph): Update call of input_profile_summary; call merge_profile_summaries. * lto-streamer-in.c (input_cfg): Add count_materialization_scale arg; rescale counts at read in. (intput_bb): Likewise. (input_function): Update call of input_bb. (lto_read_body): Update call of input_cfg. * lto-streamer.h: Inlclude gcov-io.h (lto_file_decl_data): Add gcov_ctr_summary. Modified: trunk/gcc/ChangeLog trunk/gcc/cgraph.c trunk/gcc/cgraph.h trunk/gcc/lto-cgraph.c trunk/gcc/lto-streamer-in.c trunk/gcc/lto-streamer.h