From e8449decaf6daefc5f5afd3c37aaa66bbd41d322 Mon Sep 17 00:00:00 2001 From: Christian Bruel Date: Thu, 4 Feb 2016 10:06:32 +0100 Subject: [PATCH] arm-c.c (arm_reset_previous_fndecl): Style fix and typo. 2016-02-04 Christian Bruel * config/arm/arm-c.c (arm_reset_previous_fndecl): Style fix and typo. * config/arm/arm.c (arm_set_current_function): Likewise. From-SVN: r233129 --- gcc/ChangeLog | 7 ++++++- gcc/config/arm/arm-c.c | 4 ++-- gcc/config/arm/arm.c | 4 +++- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1bbb6052932..390c0bf74d4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-02-04 Christian Bruel + + * config/arm/arm-c.c (arm_reset_previous_fndecl): Style fix and typo. + * config/arm/arm.c (arm_set_current_function): Likewise. + 2016-02-04 Jakub Jelinek Ilya Enkovich H.J. Lu @@ -11,7 +16,7 @@ 2016-02-04 Victoria Stepanyan - * gcc/config/i386/x86-tune.def: Disable default prefetching + * gcc/config/i386/x86-tune.def: Disable default prefetching for -march=znver1. 2016-02-03 Michael Meissner diff --git a/gcc/config/arm/arm-c.c b/gcc/config/arm/arm-c.c index 195905fa25b..2f1035b4ac2 100644 --- a/gcc/config/arm/arm-c.c +++ b/gcc/config/arm/arm-c.c @@ -195,6 +195,7 @@ arm_cpu_cpp_builtins (struct cpp_reader * pfile) /* Hook to validate the current #pragma GCC target and set the arch custom mode state. If ARGS is NULL, then POP_TARGET is used to reset the options. */ + static bool arm_pragma_target_parse (tree args, tree pop_target) { @@ -243,7 +244,7 @@ arm_pragma_target_parse (tree args, tree pop_target) /* Don't warn for macros that have context sensitive values depending on other attributes. - See warn_of_redefinition, Reset after cpp_create_definition. */ + See warn_of_redefinition, reset after cpp_create_definition. */ tree acond_macro = get_identifier ("__ARM_NEON_FP"); C_CPP_HASHNODE (acond_macro)->flags |= NODE_CONDITIONAL ; @@ -267,7 +268,6 @@ arm_pragma_target_parse (tree args, tree pop_target) function basis in arm_set_current_function. */ if (cur_tree == target_option_default_node) save_restore_target_globals (cur_tree); - } return true; diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index d8a2745f86b..e656a01d2b7 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -29769,6 +29769,7 @@ save_restore_target_globals (tree new_tree) } /* Invalidate arm_previous_fndecl. */ + void arm_reset_previous_fndecl (void) { @@ -29778,6 +29779,7 @@ arm_reset_previous_fndecl (void) /* Establish appropriate back-end context for processing the function FNDECL. The argument might be NULL to indicate processing at top level, outside of any function scope. */ + static void arm_set_current_function (tree fndecl) { @@ -29791,7 +29793,7 @@ arm_set_current_function (tree fndecl) tree new_tree = DECL_FUNCTION_SPECIFIC_TARGET (fndecl); /* If current function has no attributes but previous one did, - use the default node." */ + use the default node. */ if (! new_tree && old_tree) new_tree = target_option_default_node; -- 2.30.2