annotate gcc/langhooks-def.h @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 1830386684a0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 /* Default macros to initialize the lang_hooks data structure.
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
2 Copyright (C) 2001-2020 Free Software Foundation, Inc.
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 Contributed by Alexandre Oliva <aoliva@redhat.com>
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 This file is part of GCC.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 GCC is free software; you can redistribute it and/or modify
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 it under the terms of the GNU General Public License as published by
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 the Free Software Foundation; either version 3, or (at your option)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 any later version.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 GCC is distributed in the hope that it will be useful,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 GNU General Public License for more details.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
16
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 along with GCC; see the file COPYING3. If not see
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
19 <http://www.gnu.org/licenses/>. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
20
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
21 #ifndef GCC_LANG_HOOKS_DEF_H
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
22 #define GCC_LANG_HOOKS_DEF_H
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
23
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
24 #include "hooks.h"
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
25
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
26 struct diagnostic_info;
111
kono
parents: 67
diff changeset
27 class substring_loc;
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
28
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
29 /* Note to creators of new hooks:
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
30
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
31 The macros in this file should NOT be surrounded by a
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
32 #ifdef...#endif pair, since this file declares the defaults. Each
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
33 front end overrides any hooks it wishes to, in the file containing
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
34 its struct lang_hooks, AFTER including this file. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
35
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
36 /* See langhooks.h for the definition and documentation of each hook. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
37
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
38 extern void lhd_do_nothing (void);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
39 extern void lhd_do_nothing_t (tree);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
40 extern void lhd_do_nothing_f (struct function *);
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
41 extern tree lhd_pass_through_t (tree);
111
kono
parents: 67
diff changeset
42 extern void lhd_register_dumps (gcc::dump_manager *);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
43 extern bool lhd_post_options (const char **);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
44 extern alias_set_type lhd_get_alias_set (tree);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
45 extern tree lhd_return_null_tree (tree);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
46 extern tree lhd_return_null_const_tree (const_tree);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
47 extern tree lhd_do_nothing_iii_return_null_tree (int, int, int);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
48 extern void lhd_print_tree_nothing (FILE *, tree, int);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
49 extern const char *lhd_decl_printable_name (tree, int);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
50 extern const char *lhd_dwarf_name (tree, int);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
51 extern int lhd_types_compatible_p (tree, tree);
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
52 extern void lhd_print_error_function (diagnostic_context *,
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
53 const char *, struct diagnostic_info *);
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
54 extern void lhd_set_decl_assembler_name (tree decl);
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
55 extern void lhd_overwrite_decl_assembler_name (tree decl, tree name);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
56 extern bool lhd_warn_unused_global_decl (const_tree);
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
57 extern tree lhd_simulate_enum_decl (location_t, const char *,
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
58 vec<string_int_pair>);
111
kono
parents: 67
diff changeset
59 extern tree lhd_type_for_size (unsigned precision, int unsignedp);
kono
parents: 67
diff changeset
60 extern void lhd_incomplete_type_error (location_t, const_tree, const_tree);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
61 extern tree lhd_type_promotes_to (tree);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
62 extern void lhd_register_builtin_type (tree, const char *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
63 extern bool lhd_decl_ok_for_sibcall (const_tree);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
64 extern size_t lhd_tree_size (enum tree_code);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
65 extern HOST_WIDE_INT lhd_to_target_charset (HOST_WIDE_INT);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
66 extern tree lhd_expr_to_decl (tree, bool *, bool *);
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
67 extern tree lhd_builtin_function (tree);
111
kono
parents: 67
diff changeset
68 extern tree lhd_enum_underlying_base_type (const_tree);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
69
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
70 /* Declarations of default tree inlining hooks. */
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
71 extern void lhd_initialize_diagnostics (diagnostic_context *);
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
72 extern void lhd_init_options (unsigned int,
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
73 struct cl_decoded_option *);
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
74 extern bool lhd_complain_wrong_lang_p (const struct cl_option *);
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
75 extern bool lhd_handle_option (size_t, const char *, HOST_WIDE_INT, int,
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
76 location_t, const struct cl_option_handlers *);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
77
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
78
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
79 /* Declarations for tree gimplification hooks. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
80 extern int lhd_gimplify_expr (tree *, gimple_seq *, gimple_seq *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
81 extern enum omp_clause_default_kind lhd_omp_predetermined_sharing (tree);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
82 extern tree lhd_omp_assignment (tree, tree, tree);
111
kono
parents: 67
diff changeset
83 extern void lhd_omp_finish_clause (tree, gimple_seq *);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
84 struct gimplify_omp_ctx;
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
85 extern void lhd_omp_firstprivatize_type_sizes (struct gimplify_omp_ctx *,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
86 tree);
111
kono
parents: 67
diff changeset
87 extern bool lhd_omp_mappable_type (tree);
kono
parents: 67
diff changeset
88 extern bool lhd_omp_scalar_p (tree);
kono
parents: 67
diff changeset
89
kono
parents: 67
diff changeset
90 extern const char *lhd_get_substring_location (const substring_loc &,
kono
parents: 67
diff changeset
91 location_t *out_loc);
kono
parents: 67
diff changeset
92 extern int lhd_decl_dwarf_attribute (const_tree, int);
kono
parents: 67
diff changeset
93 extern int lhd_type_dwarf_attribute (const_tree, int);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
94
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
95 #define LANG_HOOKS_NAME "GNU unknown"
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
96 #define LANG_HOOKS_IDENTIFIER_SIZE sizeof (struct lang_identifier)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
97 #define LANG_HOOKS_INIT hook_bool_void_false
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
98 #define LANG_HOOKS_FINISH lhd_do_nothing
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
99 #define LANG_HOOKS_PARSE_FILE lhd_do_nothing
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
100 #define LANG_HOOKS_OPTION_LANG_MASK hook_uint_void_0
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
101 #define LANG_HOOKS_INIT_OPTIONS_STRUCT hook_void_gcc_optionsp
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
102 #define LANG_HOOKS_INIT_OPTIONS lhd_init_options
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
103 #define LANG_HOOKS_INITIALIZE_DIAGNOSTICS lhd_initialize_diagnostics
111
kono
parents: 67
diff changeset
104 #define LANG_HOOKS_REGISTER_DUMPS lhd_register_dumps
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
105 #define LANG_HOOKS_COMPLAIN_WRONG_LANG_P lhd_complain_wrong_lang_p
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
106 #define LANG_HOOKS_HANDLE_OPTION lhd_handle_option
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
107 #define LANG_HOOKS_POST_OPTIONS lhd_post_options
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
108 #define LANG_HOOKS_MISSING_NORETURN_OK_P hook_bool_tree_true
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
109 #define LANG_HOOKS_GET_ALIAS_SET lhd_get_alias_set
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
110 #define LANG_HOOKS_FINISH_INCOMPLETE_DECL lhd_do_nothing_t
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
111 #define LANG_HOOKS_DUP_LANG_SPECIFIC_DECL lhd_do_nothing_t
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
112 #define LANG_HOOKS_SET_DECL_ASSEMBLER_NAME lhd_set_decl_assembler_name
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
113 #define LANG_HOOKS_OVERWRITE_DECL_ASSEMBLER_NAME lhd_overwrite_decl_assembler_name
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
114 #define LANG_HOOKS_PRINT_STATISTICS lhd_do_nothing
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
115 #define LANG_HOOKS_PRINT_XNODE lhd_print_tree_nothing
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
116 #define LANG_HOOKS_PRINT_DECL lhd_print_tree_nothing
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
117 #define LANG_HOOKS_PRINT_TYPE lhd_print_tree_nothing
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
118 #define LANG_HOOKS_PRINT_IDENTIFIER lhd_print_tree_nothing
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
119 #define LANG_HOOKS_PRINT_ERROR_FUNCTION lhd_print_error_function
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
120 #define LANG_HOOKS_DECL_PRINTABLE_NAME lhd_decl_printable_name
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
121 #define LANG_HOOKS_DWARF_NAME lhd_dwarf_name
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
122 #define LANG_HOOKS_FREE_LANG_DATA lhd_do_nothing_t
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
123 #define LANG_HOOKS_TREE_SIZE lhd_tree_size
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
124 #define LANG_HOOKS_TYPES_COMPATIBLE_P lhd_types_compatible_p
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
125 #define LANG_HOOKS_BUILTIN_FUNCTION lhd_builtin_function
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
126 #define LANG_HOOKS_BUILTIN_FUNCTION_EXT_SCOPE LANG_HOOKS_BUILTIN_FUNCTION
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
127 #define LANG_HOOKS_SIMULATE_BUILTIN_FUNCTION_DECL LANG_HOOKS_BUILTIN_FUNCTION
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
128 #define LANG_HOOKS_EXPR_TO_DECL lhd_expr_to_decl
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
129 #define LANG_HOOKS_TO_TARGET_CHARSET lhd_to_target_charset
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
130 #define LANG_HOOKS_INIT_TS lhd_do_nothing
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
131 #define LANG_HOOKS_EH_PERSONALITY lhd_gcc_personality
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
132 #define LANG_HOOKS_EH_RUNTIME_TYPE lhd_pass_through_t
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
133 #define LANG_HOOKS_EH_PROTECT_CLEANUP_ACTIONS NULL
111
kono
parents: 67
diff changeset
134 #define LANG_HOOKS_BLOCK_MAY_FALLTHRU hook_bool_const_tree_true
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
135 #define LANG_HOOKS_EH_USE_CXA_END_CLEANUP false
63
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
136 #define LANG_HOOKS_DEEP_UNSHARING false
111
kono
parents: 67
diff changeset
137 #define LANG_HOOKS_CUSTOM_FUNCTION_DESCRIPTORS false
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
138 #define LANG_HOOKS_EMITS_BEGIN_STMT false
111
kono
parents: 67
diff changeset
139 #define LANG_HOOKS_RUN_LANG_SELFTESTS lhd_do_nothing
kono
parents: 67
diff changeset
140 #define LANG_HOOKS_GET_SUBSTRING_LOCATION lhd_get_substring_location
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
141
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
142 /* Attribute hooks. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
143 #define LANG_HOOKS_ATTRIBUTE_TABLE NULL
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
144 #define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE NULL
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
145 #define LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE NULL
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
146
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
147 /* Tree inlining hooks. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
148 #define LANG_HOOKS_TREE_INLINING_VAR_MOD_TYPE_P \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
149 hook_bool_tree_tree_false
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
150
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
151 #define LANG_HOOKS_TREE_INLINING_INITIALIZER { \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
152 LANG_HOOKS_TREE_INLINING_VAR_MOD_TYPE_P, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
153 }
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
154
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
155 /* Hooks for tree gimplification. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
156 #define LANG_HOOKS_GIMPLIFY_EXPR lhd_gimplify_expr
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
157
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
158 /* Tree dump hooks. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
159 extern bool lhd_tree_dump_dump_tree (void *, tree);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
160 extern int lhd_tree_dump_type_quals (const_tree);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
161 extern tree lhd_make_node (enum tree_code);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
162
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
163 #define LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN lhd_tree_dump_dump_tree
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
164 #define LANG_HOOKS_TREE_DUMP_TYPE_QUALS_FN lhd_tree_dump_type_quals
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
165
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
166 #define LANG_HOOKS_TREE_DUMP_INITIALIZER { \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
167 LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
168 LANG_HOOKS_TREE_DUMP_TYPE_QUALS_FN \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
169 }
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
170
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
171 /* Types hooks. There are no reasonable defaults for most of them,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
172 so we create a compile-time error instead. */
111
kono
parents: 67
diff changeset
173 extern tree lhd_unit_size_without_reusable_padding (tree);
kono
parents: 67
diff changeset
174
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
175 #define LANG_HOOKS_MAKE_TYPE lhd_make_node
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
176 #define LANG_HOOKS_SIMULATE_ENUM_DECL lhd_simulate_enum_decl
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
177 #define LANG_HOOKS_CLASSIFY_RECORD NULL
111
kono
parents: 67
diff changeset
178 #define LANG_HOOKS_TYPE_FOR_SIZE lhd_type_for_size
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
179 #define LANG_HOOKS_INCOMPLETE_TYPE_ERROR lhd_incomplete_type_error
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
180 #define LANG_HOOKS_GENERIC_TYPE_P hook_bool_const_tree_false
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
181 #define LANG_HOOKS_GET_INNERMOST_GENERIC_PARMS hook_tree_const_tree_null
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
182 #define LANG_HOOKS_GET_INNERMOST_GENERIC_ARGS hook_tree_const_tree_null
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
183 #define LANG_HOOKS_FUNCTION_PARAMETER_PACK_P hook_bool_const_tree_false
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
184 #define LANG_HOOKS_GET_ARGUMENT_PACK_ELEMS hook_tree_const_tree_null
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
185 #define LANG_HOOKS_GENERIC_GENERIC_PARAMETER_DECL_P hook_bool_const_tree_false
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
186 #define LANG_HOOKS_FUNCTION_PARM_EXPANDED_FROM_PACK_P \
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
187 hook_bool_tree_tree_false
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
188 #define LANG_HOOKS_GET_GENERIC_FUNCTION_DECL hook_tree_const_tree_null
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
189 #define LANG_HOOKS_TYPE_PROMOTES_TO lhd_type_promotes_to
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
190 #define LANG_HOOKS_REGISTER_BUILTIN_TYPE lhd_register_builtin_type
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
191 #define LANG_HOOKS_TYPE_MAX_SIZE lhd_return_null_const_tree
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
192 #define LANG_HOOKS_OMP_FIRSTPRIVATIZE_TYPE_SIZES \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
193 lhd_omp_firstprivatize_type_sizes
111
kono
parents: 67
diff changeset
194 #define LANG_HOOKS_OMP_MAPPABLE_TYPE lhd_omp_mappable_type
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
195 #define LANG_HOOKS_TYPE_HASH_EQ NULL
111
kono
parents: 67
diff changeset
196 #define LANG_HOOKS_COPY_LANG_QUALIFIERS NULL
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
197 #define LANG_HOOKS_GET_ARRAY_DESCR_INFO NULL
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
198 #define LANG_HOOKS_GET_SUBRANGE_BOUNDS NULL
111
kono
parents: 67
diff changeset
199 #define LANG_HOOKS_GET_TYPE_BIAS NULL
kono
parents: 67
diff changeset
200 #define LANG_HOOKS_DESCRIPTIVE_TYPE NULL
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
201 #define LANG_HOOKS_RECONSTRUCT_COMPLEX_TYPE reconstruct_complex_type
111
kono
parents: 67
diff changeset
202 #define LANG_HOOKS_ENUM_UNDERLYING_BASE_TYPE lhd_enum_underlying_base_type
kono
parents: 67
diff changeset
203 #define LANG_HOOKS_GET_DEBUG_TYPE NULL
kono
parents: 67
diff changeset
204 #define LANG_HOOKS_GET_FIXED_POINT_TYPE_INFO NULL
kono
parents: 67
diff changeset
205 #define LANG_HOOKS_TYPE_DWARF_ATTRIBUTE lhd_type_dwarf_attribute
kono
parents: 67
diff changeset
206 #define LANG_HOOKS_UNIT_SIZE_WITHOUT_REUSABLE_PADDING lhd_unit_size_without_reusable_padding
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
207
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
208 #define LANG_HOOKS_FOR_TYPES_INITIALIZER { \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
209 LANG_HOOKS_MAKE_TYPE, \
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
210 LANG_HOOKS_SIMULATE_ENUM_DECL, \
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
211 LANG_HOOKS_CLASSIFY_RECORD, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
212 LANG_HOOKS_TYPE_FOR_MODE, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
213 LANG_HOOKS_TYPE_FOR_SIZE, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
214 LANG_HOOKS_GENERIC_TYPE_P, \
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
215 LANG_HOOKS_GET_ARGUMENT_PACK_ELEMS, \
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
216 LANG_HOOKS_TYPE_PROMOTES_TO, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
217 LANG_HOOKS_REGISTER_BUILTIN_TYPE, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
218 LANG_HOOKS_INCOMPLETE_TYPE_ERROR, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
219 LANG_HOOKS_TYPE_MAX_SIZE, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
220 LANG_HOOKS_OMP_FIRSTPRIVATIZE_TYPE_SIZES, \
111
kono
parents: 67
diff changeset
221 LANG_HOOKS_OMP_MAPPABLE_TYPE, \
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
222 LANG_HOOKS_TYPE_HASH_EQ, \
111
kono
parents: 67
diff changeset
223 LANG_HOOKS_COPY_LANG_QUALIFIERS, \
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
224 LANG_HOOKS_GET_ARRAY_DESCR_INFO, \
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
225 LANG_HOOKS_GET_SUBRANGE_BOUNDS, \
111
kono
parents: 67
diff changeset
226 LANG_HOOKS_GET_TYPE_BIAS, \
kono
parents: 67
diff changeset
227 LANG_HOOKS_DESCRIPTIVE_TYPE, \
kono
parents: 67
diff changeset
228 LANG_HOOKS_RECONSTRUCT_COMPLEX_TYPE, \
kono
parents: 67
diff changeset
229 LANG_HOOKS_ENUM_UNDERLYING_BASE_TYPE, \
kono
parents: 67
diff changeset
230 LANG_HOOKS_GET_DEBUG_TYPE, \
kono
parents: 67
diff changeset
231 LANG_HOOKS_GET_FIXED_POINT_TYPE_INFO, \
kono
parents: 67
diff changeset
232 LANG_HOOKS_TYPE_DWARF_ATTRIBUTE, \
kono
parents: 67
diff changeset
233 LANG_HOOKS_UNIT_SIZE_WITHOUT_REUSABLE_PADDING \
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
234 }
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
235
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
236 /* Declaration hooks. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
237 #define LANG_HOOKS_GLOBAL_BINDINGS_P global_bindings_p
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
238 #define LANG_HOOKS_PUSHDECL pushdecl
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
239 #define LANG_HOOKS_GETDECLS getdecls
111
kono
parents: 67
diff changeset
240 #define LANG_HOOKS_DECL_DWARF_ATTRIBUTE lhd_decl_dwarf_attribute
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
241 #define LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL lhd_warn_unused_global_decl
111
kono
parents: 67
diff changeset
242 #define LANG_HOOKS_POST_COMPILATION_PARSING_CLEANUPS NULL
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
243 #define LANG_HOOKS_DECL_OK_FOR_SIBCALL lhd_decl_ok_for_sibcall
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
244 #define LANG_HOOKS_OMP_ARRAY_DATA hook_tree_tree_bool_null
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
245 #define LANG_HOOKS_OMP_IS_ALLOCATABLE_OR_PTR hook_bool_const_tree_false
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
246 #define LANG_HOOKS_OMP_CHECK_OPTIONAL_ARGUMENT hook_tree_tree_bool_null
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
247 #define LANG_HOOKS_OMP_PRIVATIZE_BY_REFERENCE hook_bool_const_tree_false
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
248 #define LANG_HOOKS_OMP_PREDETERMINED_SHARING lhd_omp_predetermined_sharing
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
249 #define LANG_HOOKS_OMP_REPORT_DECL lhd_pass_through_t
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
250 #define LANG_HOOKS_OMP_DISREGARD_VALUE_EXPR hook_bool_tree_bool_false
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
251 #define LANG_HOOKS_OMP_PRIVATE_DEBUG_CLAUSE hook_bool_tree_bool_false
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
252 #define LANG_HOOKS_OMP_PRIVATE_OUTER_REF hook_bool_tree_false
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
253 #define LANG_HOOKS_OMP_CLAUSE_DEFAULT_CTOR hook_tree_tree_tree_tree_null
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
254 #define LANG_HOOKS_OMP_CLAUSE_COPY_CTOR lhd_omp_assignment
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
255 #define LANG_HOOKS_OMP_CLAUSE_ASSIGN_OP lhd_omp_assignment
111
kono
parents: 67
diff changeset
256 #define LANG_HOOKS_OMP_CLAUSE_LINEAR_CTOR NULL
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
257 #define LANG_HOOKS_OMP_CLAUSE_DTOR hook_tree_tree_tree_null
111
kono
parents: 67
diff changeset
258 #define LANG_HOOKS_OMP_FINISH_CLAUSE lhd_omp_finish_clause
kono
parents: 67
diff changeset
259 #define LANG_HOOKS_OMP_SCALAR_P lhd_omp_scalar_p
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
260
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
261 #define LANG_HOOKS_DECLS { \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
262 LANG_HOOKS_GLOBAL_BINDINGS_P, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
263 LANG_HOOKS_PUSHDECL, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
264 LANG_HOOKS_GETDECLS, \
111
kono
parents: 67
diff changeset
265 LANG_HOOKS_DECL_DWARF_ATTRIBUTE, \
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
266 LANG_HOOKS_GENERIC_GENERIC_PARAMETER_DECL_P, \
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
267 LANG_HOOKS_FUNCTION_PARM_EXPANDED_FROM_PACK_P, \
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
268 LANG_HOOKS_GET_GENERIC_FUNCTION_DECL, \
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
269 LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL, \
111
kono
parents: 67
diff changeset
270 LANG_HOOKS_POST_COMPILATION_PARSING_CLEANUPS, \
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
271 LANG_HOOKS_DECL_OK_FOR_SIBCALL, \
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
272 LANG_HOOKS_OMP_ARRAY_DATA, \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
273 LANG_HOOKS_OMP_IS_ALLOCATABLE_OR_PTR, \
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
274 LANG_HOOKS_OMP_CHECK_OPTIONAL_ARGUMENT, \
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
275 LANG_HOOKS_OMP_PRIVATIZE_BY_REFERENCE, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
276 LANG_HOOKS_OMP_PREDETERMINED_SHARING, \
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
277 LANG_HOOKS_OMP_REPORT_DECL, \
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
278 LANG_HOOKS_OMP_DISREGARD_VALUE_EXPR, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
279 LANG_HOOKS_OMP_PRIVATE_DEBUG_CLAUSE, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
280 LANG_HOOKS_OMP_PRIVATE_OUTER_REF, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
281 LANG_HOOKS_OMP_CLAUSE_DEFAULT_CTOR, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
282 LANG_HOOKS_OMP_CLAUSE_COPY_CTOR, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
283 LANG_HOOKS_OMP_CLAUSE_ASSIGN_OP, \
111
kono
parents: 67
diff changeset
284 LANG_HOOKS_OMP_CLAUSE_LINEAR_CTOR, \
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
285 LANG_HOOKS_OMP_CLAUSE_DTOR, \
111
kono
parents: 67
diff changeset
286 LANG_HOOKS_OMP_FINISH_CLAUSE, \
kono
parents: 67
diff changeset
287 LANG_HOOKS_OMP_SCALAR_P \
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
288 }
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
289
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
290 /* LTO hooks. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
291 extern void lhd_begin_section (const char *);
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
292 extern void lhd_append_data (const void *, size_t, void *);
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
293 extern void lhd_end_section (void);
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
294
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
295 #define LANG_HOOKS_BEGIN_SECTION lhd_begin_section
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
296 #define LANG_HOOKS_APPEND_DATA lhd_append_data
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
297 #define LANG_HOOKS_END_SECTION lhd_end_section
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
298
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
299 #define LANG_HOOKS_LTO { \
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
300 LANG_HOOKS_BEGIN_SECTION, \
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
301 LANG_HOOKS_APPEND_DATA, \
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
302 LANG_HOOKS_END_SECTION \
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
303 }
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
304
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
305 /* The whole thing. The structure is defined in langhooks.h. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
306 #define LANG_HOOKS_INITIALIZER { \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
307 LANG_HOOKS_NAME, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
308 LANG_HOOKS_IDENTIFIER_SIZE, \
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
309 LANG_HOOKS_FREE_LANG_DATA, \
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
310 LANG_HOOKS_TREE_SIZE, \
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
311 LANG_HOOKS_OPTION_LANG_MASK, \
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
312 LANG_HOOKS_INIT_OPTIONS_STRUCT, \
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
313 LANG_HOOKS_INIT_OPTIONS, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
314 LANG_HOOKS_INITIALIZE_DIAGNOSTICS, \
111
kono
parents: 67
diff changeset
315 LANG_HOOKS_REGISTER_DUMPS, \
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
316 LANG_HOOKS_COMPLAIN_WRONG_LANG_P, \
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
317 LANG_HOOKS_HANDLE_OPTION, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
318 LANG_HOOKS_POST_OPTIONS, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
319 LANG_HOOKS_INIT, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
320 LANG_HOOKS_FINISH, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
321 LANG_HOOKS_PARSE_FILE, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
322 LANG_HOOKS_MISSING_NORETURN_OK_P, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
323 LANG_HOOKS_GET_ALIAS_SET, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
324 LANG_HOOKS_FINISH_INCOMPLETE_DECL, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
325 LANG_HOOKS_DUP_LANG_SPECIFIC_DECL, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
326 LANG_HOOKS_SET_DECL_ASSEMBLER_NAME, \
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
327 LANG_HOOKS_OVERWRITE_DECL_ASSEMBLER_NAME, \
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
328 LANG_HOOKS_PRINT_STATISTICS, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
329 LANG_HOOKS_PRINT_XNODE, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
330 LANG_HOOKS_PRINT_DECL, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
331 LANG_HOOKS_PRINT_TYPE, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
332 LANG_HOOKS_PRINT_IDENTIFIER, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
333 LANG_HOOKS_DECL_PRINTABLE_NAME, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
334 LANG_HOOKS_DWARF_NAME, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
335 LANG_HOOKS_TYPES_COMPATIBLE_P, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
336 LANG_HOOKS_PRINT_ERROR_FUNCTION, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
337 LANG_HOOKS_TO_TARGET_CHARSET, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
338 LANG_HOOKS_ATTRIBUTE_TABLE, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
339 LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
340 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
341 LANG_HOOKS_TREE_INLINING_INITIALIZER, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
342 LANG_HOOKS_TREE_DUMP_INITIALIZER, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
343 LANG_HOOKS_DECLS, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
344 LANG_HOOKS_FOR_TYPES_INITIALIZER, \
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
345 LANG_HOOKS_LTO, \
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
346 LANG_HOOKS_GET_INNERMOST_GENERIC_PARMS, \
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
347 LANG_HOOKS_GET_INNERMOST_GENERIC_ARGS, \
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
348 LANG_HOOKS_FUNCTION_PARAMETER_PACK_P, \
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
349 LANG_HOOKS_GIMPLIFY_EXPR, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
350 LANG_HOOKS_BUILTIN_FUNCTION, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
351 LANG_HOOKS_BUILTIN_FUNCTION_EXT_SCOPE, \
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
352 LANG_HOOKS_SIMULATE_BUILTIN_FUNCTION_DECL, \
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
353 LANG_HOOKS_INIT_TS, \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
354 LANG_HOOKS_EXPR_TO_DECL, \
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
355 LANG_HOOKS_EH_PERSONALITY, \
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
356 LANG_HOOKS_EH_RUNTIME_TYPE, \
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
357 LANG_HOOKS_EH_PROTECT_CLEANUP_ACTIONS, \
111
kono
parents: 67
diff changeset
358 LANG_HOOKS_BLOCK_MAY_FALLTHRU, \
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
359 LANG_HOOKS_EH_USE_CXA_END_CLEANUP, \
111
kono
parents: 67
diff changeset
360 LANG_HOOKS_DEEP_UNSHARING, \
kono
parents: 67
diff changeset
361 LANG_HOOKS_CUSTOM_FUNCTION_DESCRIPTORS, \
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
362 LANG_HOOKS_EMITS_BEGIN_STMT, \
111
kono
parents: 67
diff changeset
363 LANG_HOOKS_RUN_LANG_SELFTESTS, \
kono
parents: 67
diff changeset
364 LANG_HOOKS_GET_SUBSTRING_LOCATION \
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
365 }
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
366
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
367 #endif /* GCC_LANG_HOOKS_DEF_H */