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 990cbe49f491b608d0f7a53a5217a1e66f05619c..a6b039677a478d7071fdee1673e0ac3081102b92 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 d971a74f2b0deb0b34dd5f880bec92fea3a91ff0..b15acb0665063c15d46eb65f50b03208987ded39 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;
       }
   }