From dcf13fb3ac8a4c9e85842f147665b527ce71234b Mon Sep 17 00:00:00 2001
From: marxin <mliska@suse.cz>
Date: Fri, 22 Jul 2016 13:07:40 +0200
Subject: [PATCH] Don't call get_working_sets w/ LTO and -fauto-profile (PR
gcov-profile/70993)
gcc/ChangeLog:
2016-07-22 Martin Liska <mliska@suse.cz>
* lto-cgraph.c (input_symtab): Don't call get_working_sets
if flag_auto_profile is set to true.
---
gcc/lto-cgraph.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
@@ -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
--
2.9.0