summaryrefslogtreecommitdiff
path: root/gcc/lto-cgraph.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/lto-cgraph.c')
-rw-r--r--gcc/lto-cgraph.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/lto-cgraph.c b/gcc/lto-cgraph.c
index 5cef2bae159..26420411b0d 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