Finalize func_options in arm target in
authorMartin Liska <mliska@suse.cz>
Wed, 18 Nov 2015 14:18:11 +0000 (15:18 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 18 Nov 2015 14:18:11 +0000 (14:18 +0000)
* config/arm/arm.c (arm_valid_target_attribute_p): Finalize
options struct.

From-SVN: r230548

gcc/ChangeLog
gcc/config/arm/arm.c

index d569816265c8d816956d48c1ade7ae470379a1d1..e3c11fe0372fb060bdd82db7efe885e25bc23842 100644 (file)
@@ -1,3 +1,8 @@
+2015-11-18  Martin Liska  <mliska@suse.cz>
+
+       * config/arm/arm.c (arm_valid_target_attribute_p): Finalize
+       options struct.
+
 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
 
        * config/nvptx/nvptx.c (global_lock_var): New.
index c3c0c931ca3355b20e0c24789c6172a059a4267a..2075c41f522d9437fe7bdff00436eade2412efc8 100644 (file)
@@ -30010,6 +30010,8 @@ arm_valid_target_attribute_p (tree fndecl, tree ARG_UNUSED (name),
 
   DECL_FUNCTION_SPECIFIC_OPTIMIZATION (fndecl) = new_optimize;
 
+  finalize_options_struct (&func_options);
+
   return ret;
 }