Remove leftover call to finalize_options_struct.
authorMartin Liska <mliska@suse.cz>
Wed, 13 Nov 2019 08:39:53 +0000 (09:39 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 13 Nov 2019 08:39:53 +0000 (08:39 +0000)
2019-11-13  Martin Liska  <mliska@suse.cz>

* tree-streamer-in.c (lto_input_ts_function_decl_tree_pointers):
Remove call to finalize_options_struct.

From-SVN: r278116

gcc/ChangeLog
gcc/tree-streamer-in.c

index 990cbe4..a6b0396 100644 (file)
@@ -1,3 +1,8 @@
+2019-11-13  Martin Liska  <mliska@suse.cz>
+
+       * tree-streamer-in.c (lto_input_ts_function_decl_tree_pointers):
+       Remove call to finalize_options_struct.
+
 2019-11-13  Georg-Johann Lay  <avr@gjlay.de>
 
        PR target/92055
index d971a74..b15acb0 100644 (file)
@@ -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;
       }
   }