diff options
author | marxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-07-25 11:28:52 +0000 |
---|---|---|
committer | marxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-07-25 11:28:52 +0000 |
commit | f81d7a3815c8490bfb64956964e5189ab5577578 (patch) | |
tree | 0e2e177ee5e8b0dc0db91d003cfcd284c096c56b /gcc/lto-cgraph.c | |
parent | 5bf658d62e694980a3b5a464be793a0c5da593ee (diff) | |
download | gcc-f81d7a3815c8490bfb64956964e5189ab5577578.tar.gz |
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
Diffstat (limited to 'gcc/lto-cgraph.c')
-rw-r--r-- | gcc/lto-cgraph.c | 4 |
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 |