From 9c40fd463b678d72850b5e2f98cb9ffc18c12fa3 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Wed, 13 Nov 2019 09:39:53 +0100 Subject: [PATCH] Remove leftover call to finalize_options_struct. 2019-11-13 Martin Liska * tree-streamer-in.c (lto_input_ts_function_decl_tree_pointers): Remove call to finalize_options_struct. From-SVN: r278116 --- gcc/ChangeLog | 5 +++++ gcc/tree-streamer-in.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 990cbe49f49..a6b039677a4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-11-13 Martin Liska + + * tree-streamer-in.c (lto_input_ts_function_decl_tree_pointers): + Remove call to finalize_options_struct. + 2019-11-13 Georg-Johann Lay PR target/92055 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; } } -- 2.30.2