Commit 10c9ea62 by Martin Liska Committed by Martin Liska

Don't call get_working_sets w/ LTO and -fauto-profile (PR

	* lto-cgraph.c (input_symtab): Don't call get_working_sets
	if flag_auto_profile is set to true.

From-SVN: r238707
parent c1e1a688
2016-07-25 Martin Liska <mliska@suse.cz> 2016-07-25 Martin Liska <mliska@suse.cz>
* lto-cgraph.c (input_symtab): Don't call get_working_sets
if flag_auto_profile is set to true.
2016-07-25 Martin Liska <mliska@suse.cz>
PR gcov-profile/71868 PR gcov-profile/71868
* cfgloopanal.c (expected_loop_iterations_unbounded): When we * cfgloopanal.c (expected_loop_iterations_unbounded): When we
have a function with multiple latches, count them all. have a function with multiple latches, count them all.
......
...@@ -1867,7 +1867,9 @@ input_symtab (void) ...@@ -1867,7 +1867,9 @@ input_symtab (void)
} }
merge_profile_summaries (file_data_vec); merge_profile_summaries (file_data_vec);
get_working_sets ();
if (!flag_auto_profile)
get_working_sets ();
/* Clear out the aux field that was used to store enough state to /* Clear out the aux field that was used to store enough state to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment