]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Don't call get_working_sets w/ LTO and -fauto-profile (PR
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Jul 2016 11:28:52 +0000 (11:28 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Jul 2016 11:28:52 +0000 (11:28 +0000)
* 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/ChangeLog
gcc/lto-cgraph.c

index 7a8a69c5a453d9f1e18cebf9f1b70f0fa7be7d48..e8952cbba74eb4a63239b69880a2ee78d9fc5b8e 100644 (file)
@@ -1,3 +1,8 @@
+2016-07-25  Martin Liska  <mliska@suse.cz>
+
+       * lto-cgraph.c (input_symtab): Don't call get_working_sets
+       if flag_auto_profile is set to true.
+
 2016-07-25  Martin Liska  <mliska@suse.cz>
 
        PR gcov-profile/71868
index 5cef2bae159616d67cdecea0c6e04b69b9052897..26420411b0d416b4bcbc0b22819ff6137a290140 100644 (file)
@@ -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