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
This commit is contained in:
Martin Liska 2016-07-25 13:28:52 +02:00 committed by Martin Liska
parent c1e1a688fb
commit 10c9ea62d6
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -1867,7 +1867,9 @@ input_symtab (void)
}
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