From 4a353e1608a97ba1b3712c3130baed8eff8d0819 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Wed, 18 Nov 2015 15:18:11 +0100 Subject: [PATCH] Finalize func_options in arm target in * config/arm/arm.c (arm_valid_target_attribute_p): Finalize options struct. From-SVN: r230548 --- gcc/ChangeLog | 5 +++++ gcc/config/arm/arm.c | 2 ++ 2 files changed, 7 insertions(+) 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; } -- 2.30.2