diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7a8a69c5a453..e8952cbba74e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-07-25 Martin Liska + + * lto-cgraph.c (input_symtab): Don't call get_working_sets + if flag_auto_profile is set to true. + 2016-07-25 Martin Liska PR gcov-profile/71868 diff --git a/gcc/lto-cgraph.c b/gcc/lto-cgraph.c index 5cef2bae1596..26420411b0d4 100644 --- a/gcc/lto-cgraph.c +++ b/gcc/lto-cgraph.c @@ -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