misc.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): Reorder.
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 29 Jun 2016 12:32:57 +0000 (12:32 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 29 Jun 2016 12:32:57 +0000 (12:32 +0000)
* gcc-interface/misc.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): Reorder.
(LANG_HOOKS_INIT_TS): Likewise.

From-SVN: r237848

gcc/ada/ChangeLog
gcc/ada/gcc-interface/misc.c

index c24cc040c4c14e470f5f3dcabece4f4f8f30c514..cb053612702577a7d290725c51a92c0117e188e1 100644 (file)
@@ -1,3 +1,8 @@
+2016-06-29  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gcc-interface/misc.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): Reorder.
+       (LANG_HOOKS_INIT_TS): Likewise.
+
 2016-06-22  Arnaud Charlet  <charlet@adacore.com>
 
        * sem_prag.adb: Revert unwanted change in previous commit,
index 279a114e3b8f789786efc129f19d25aa4fd33181..b240bc5e0f7b221f4f703f502b099bca915b7003 100644 (file)
@@ -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;