From abb67622cf2b192afc1956a6482f103d1a76f721 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Wed, 29 Jun 2016 12:32:57 +0000 Subject: [PATCH] misc.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): Reorder. * gcc-interface/misc.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): Reorder. (LANG_HOOKS_INIT_TS): Likewise. From-SVN: r237848 --- gcc/ada/ChangeLog | 5 +++++ gcc/ada/gcc-interface/misc.c | 11 +++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index c24cc040c4c..cb053612702 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2016-06-29 Eric Botcazou + + * gcc-interface/misc.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): Reorder. + (LANG_HOOKS_INIT_TS): Likewise. + 2016-06-22 Arnaud Charlet * sem_prag.adb: Revert unwanted change in previous commit, diff --git a/gcc/ada/gcc-interface/misc.c b/gcc/ada/gcc-interface/misc.c index 279a114e3b8..b240bc5e0f7 100644 --- a/gcc/ada/gcc-interface/misc.c +++ b/gcc/ada/gcc-interface/misc.c @@ -1370,6 +1370,8 @@ get_lang_specific (tree node) #define LANG_HOOKS_GETDECLS lhd_return_null_tree_v #undef LANG_HOOKS_PUSHDECL #define LANG_HOOKS_PUSHDECL gnat_return_tree +#undef LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL +#define LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL hook_bool_const_tree_false #undef LANG_HOOKS_GET_ALIAS_SET #define LANG_HOOKS_GET_ALIAS_SET gnat_get_alias_set #undef LANG_HOOKS_PRINT_DECL @@ -1403,20 +1405,17 @@ get_lang_specific (tree node) #undef LANG_HOOKS_GET_DEBUG_TYPE #define LANG_HOOKS_GET_DEBUG_TYPE gnat_get_debug_type #undef LANG_HOOKS_GET_FIXED_POINT_TYPE_INFO -#define LANG_HOOKS_GET_FIXED_POINT_TYPE_INFO \ - gnat_get_fixed_point_type_info +#define LANG_HOOKS_GET_FIXED_POINT_TYPE_INFO gnat_get_fixed_point_type_info #undef LANG_HOOKS_ATTRIBUTE_TABLE #define LANG_HOOKS_ATTRIBUTE_TABLE gnat_internal_attribute_table #undef LANG_HOOKS_BUILTIN_FUNCTION #define LANG_HOOKS_BUILTIN_FUNCTION gnat_builtin_function +#undef LANG_HOOKS_INIT_TS +#define LANG_HOOKS_INIT_TS gnat_init_ts #undef LANG_HOOKS_EH_PERSONALITY #define LANG_HOOKS_EH_PERSONALITY gnat_eh_personality #undef LANG_HOOKS_DEEP_UNSHARING #define LANG_HOOKS_DEEP_UNSHARING true -#undef LANG_HOOKS_INIT_TS -#define LANG_HOOKS_INIT_TS gnat_init_ts -#undef LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL -#define LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL hook_bool_const_tree_false struct lang_hooks lang_hooks = LANG_HOOKS_INITIALIZER; -- 2.30.2