From f81d7a3815c8490bfb64956964e5189ab5577578 Mon Sep 17 00:00:00 2001 From: marxin Date: Mon, 25 Jul 2016 11:28:52 +0000 Subject: 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@238707 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/lto-cgraph.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gcc/lto-cgraph.c') 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 -- cgit v1.2.1