From: Martin Liska Date: Wed, 18 Nov 2015 14:18:11 +0000 (+0100) Subject: Finalize func_options in arm target in X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4a353e1608a97ba1b3712c3130baed8eff8d0819;p=gcc.git Finalize func_options in arm target in * config/arm/arm.c (arm_valid_target_attribute_p): Finalize options struct. From-SVN: r230548 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d569816265c..e3c11fe0372 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-11-18 Martin Liska + + * config/arm/arm.c (arm_valid_target_attribute_p): Finalize + options struct. + 2015-11-18 Nathan Sidwell * config/nvptx/nvptx.c (global_lock_var): New. diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index c3c0c931ca3..2075c41f522 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -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; }