aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorMarc Glisse <marc.glisse@inria.fr>2017-06-27 11:38:28 +0200
committerMarc Glisse <glisse@gcc.gnu.org>2017-06-27 09:38:28 +0000
commita889d6aa2730c084c338576b5a133134f142ce88 (patch)
treecad2c912369abd49f5993cdc87c30b138900b12d /gcc/tree.h
parent931fae8133c14bf6240ca3439cb6ba2af120ebfb (diff)
downloadgcc-a889d6aa2730c084c338576b5a133134f142ce88.zip
gcc-a889d6aa2730c084c338576b5a133134f142ce88.tar.gz
gcc-a889d6aa2730c084c338576b5a133134f142ce88.tar.bz2
fenv.h builtins
2017-06-27 Marc Glisse <marc.glisse@inria.fr> * builtin-types.def (BT_FENV_T_PTR, BT_CONST_FENV_T_PTR, BT_FEXCEPT_T_PTR, BT_CONST_FEXCEPT_T_PTR): New primitive types. (BT_FN_INT_FENV_T_PTR, BT_FN_INT_CONST_FENV_T_PTR, BT_FN_INT_FEXCEPT_T_PTR_INT, BT_FN_INT_CONST_FEXCEPT_T_PTR_INT): New function types. * builtins.def (BUILT_IN_FECLEAREXCEPT, BUILT_IN_FEGETENV, BUILT_IN_FEGETEXCEPTFLAG, BUILT_IN_FEGETROUND, BUILT_IN_FEHOLDEXCEPT, BUILT_IN_FERAISEEXCEPT, BUILT_IN_FESETENV, BUILT_IN_FESETEXCEPTFLAG, BUILT_IN_FESETROUND, BUILT_IN_FETESTEXCEPT, BUILT_IN_FEUPDATEENV): New builtins. * tree-core.h (TI_FENV_T_PTR_TYPE, TI_CONST_FENV_T_PTR_TYPE, TI_FEXCEPT_T_PTR_TYPE, TI_CONST_FEXCEPT_T_PTR_TYPE): New entries. * tree.h (fenv_t_ptr_type_node, const_fenv_t_ptr_type_node, fexcept_t_ptr_type_node, const_fexcept_t_ptr_type_node): New macros. (builtin_structptr_types): Adjust size. * tree.c (builtin_structptr_types): Add four entries. From-SVN: r249685
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 7a4f5d6..91cf253 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -3725,6 +3725,12 @@ id_equal (const char *str, const_tree id)
#define fileptr_type_node global_trees[TI_FILEPTR_TYPE]
/* The C type `const struct tm *'. */
#define const_tm_ptr_type_node global_trees[TI_CONST_TM_PTR_TYPE]
+/* The C type `fenv_t *'. */
+#define fenv_t_ptr_type_node global_trees[TI_FENV_T_PTR_TYPE]
+#define const_fenv_t_ptr_type_node global_trees[TI_CONST_FENV_T_PTR_TYPE]
+/* The C type `fexcept_t *'. */
+#define fexcept_t_ptr_type_node global_trees[TI_FEXCEPT_T_PTR_TYPE]
+#define const_fexcept_t_ptr_type_node global_trees[TI_CONST_FEXCEPT_T_PTR_TYPE]
#define pointer_sized_int_node global_trees[TI_POINTER_SIZED_TYPE]
#define boolean_type_node global_trees[TI_BOOLEAN_TYPE]
@@ -5531,5 +5537,5 @@ struct builtin_structptr_type
tree& base;
const char *str;
};
-extern const builtin_structptr_type builtin_structptr_types[2];
+extern const builtin_structptr_type builtin_structptr_types[6];
#endif /* GCC_TREE_H */