This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH 1/3] Remove leftover call to finalize_options_struct.
- From: Martin Liska <mliska at suse dot cz>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 12 Nov 2019 19:14:26 +0100
- Subject: [PATCH 1/3] Remove leftover call to finalize_options_struct.
- References: <cover.1573632444.git.mliska@suse.cz>
gcc/ChangeLog:
2019-11-12 Martin Liska <mliska@suse.cz>
* tree-streamer-in.c (lto_input_ts_function_decl_tree_pointers):
Remove call to finalize_options_struct.
---
gcc/tree-streamer-in.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/gcc/tree-streamer-in.c b/gcc/tree-streamer-in.c
index d971a74f2b0..b15acb06650 100644
--- a/gcc/tree-streamer-in.c
+++ b/gcc/tree-streamer-in.c
@@ -798,7 +798,6 @@ lto_input_ts_function_decl_tree_pointers (class lto_input_block *ib,
cl_optimization_restore (&tmp, TREE_OPTIMIZATION (opts));
finish_options (&tmp, &global_options_set, UNKNOWN_LOCATION);
opts = build_optimization_node (&tmp);
- finalize_options_struct (&tmp);
DECL_FUNCTION_SPECIFIC_OPTIMIZATION (expr) = opts;
}
}