diff options
author | Martin Liska <mliska@suse.cz> | 2016-07-25 13:28:52 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2016-07-25 11:28:52 +0000 |
commit | 10c9ea62d6d07e20d23b0ff6ea5211a573b0b9c0 (patch) | |
tree | 0e2e177ee5e8b0dc0db91d003cfcd284c096c56b /gcc/lto-cgraph.c | |
parent | c1e1a688fb50bffe2ab21e4cce7374ac65e89205 (diff) | |
download | gcc-10c9ea62d6d07e20d23b0ff6ea5211a573b0b9c0.zip gcc-10c9ea62d6d07e20d23b0ff6ea5211a573b0b9c0.tar.gz gcc-10c9ea62d6d07e20d23b0ff6ea5211a573b0b9c0.tar.bz2 |
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
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 5cef2ba..2642041 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 |