aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto/lto.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/lto/lto.c')
-rw-r--r--gcc/lto/lto.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c
index c65e7cd..d77d85d 100644
--- a/gcc/lto/lto.c
+++ b/gcc/lto/lto.c
@@ -1707,13 +1707,7 @@ lto_read_decls (struct lto_file_decl_data *decl_data, const void *data,
&& (TREE_CODE (first) == IDENTIFIER_NODE
|| TREE_CODE (first) == INTEGER_CST
|| TREE_CODE (first) == TRANSLATION_UNIT_DECL))
- {
- /* For TRANSLATION_UNIT_DECL we need to accept location cache now
- to avoid possible reverting during following unify_scc call. */
- if (TREE_CODE (first) == TRANSLATION_UNIT_DECL)
- data_in->location_cache.accept_location_cache ();
- continue;
- }
+ continue;
/* Try to unify the SCC with already existing ones. */
if (!flag_ltrans