aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
authorMark Mitchell <mmitchel@gcc.gnu.org>2001-05-25 20:00:59 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2001-05-25 20:00:59 +0000
commit1084128584fe3cb13ba54924a80d1647b7f73387 (patch)
treea6b2476cc75872ea15f87872782af87262afe2cb /gcc/c-common.h
parentc132505efe4f642232b69b6e2dca1349148d9b74 (diff)
downloadgcc-1084128584fe3cb13ba54924a80d1647b7f73387.zip
gcc-1084128584fe3cb13ba54924a80d1647b7f73387.tar.gz
gcc-1084128584fe3cb13ba54924a80d1647b7f73387.tar.bz2
builtins.def: Encode additional information, such as names and types, here.
* builtins.def: Encode additional information, such as names and types, here. * builtin-types.def: New file. * builtins.c (built_in_names): Adjust use of DEF_BUILTIN. (built_in_decls): Likewise. Don't explicitly initialize global data to NULL. (expand_builtin_mathfn): Handle float and long double variants of math builtins. (expand_builtin): Likewise. * c-common.c (c_common_nodes_and_builtins): Make it table-driven. (expand_tree_builtin): Handle long, long long, float, and long double variants of math functions. * c-common.h (c_tree_index): Remove some unused nodes. (void_ftype): Remove. (void_type_ptr): Likewise. (int_ftype_int): Likewise. (ptr_ftype_sizetype): Likewise. * c-decl.c (init_decl_processing): Remove creation of DWARF builtins. * defaults.h (MD_INIT_BUILTINS): Provide default definition. * tree.h (built_in_function): Adjust definition of DEF_BUILTIN. * Makefile.in (c-common.o): Depend on builtin-types.def. * decl.c (init_decl_processing): Tweak. From-SVN: r42583
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r--gcc/c-common.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h
index 8a5a759..c1b273e 100644
--- a/gcc/c-common.h
+++ b/gcc/c-common.h
@@ -148,11 +148,6 @@ enum c_tree_index
CTI_C_BOOL_FALSE,
CTI_DEFAULT_FUNCTION_TYPE,
- CTI_VOID_FTYPE,
- CTI_VOID_FTYPE_PTR,
- CTI_INT_FTYPE_INT,
- CTI_PTR_FTYPE_SIZETYPE,
-
CTI_G77_INTEGER_TYPE,
CTI_G77_UINTEGER_TYPE,
CTI_G77_LONGINT_TYPE,
@@ -207,10 +202,6 @@ struct c_common_identifier
#define const_string_type_node c_global_trees[CTI_CONST_STRING_TYPE]
#define default_function_type c_global_trees[CTI_DEFAULT_FUNCTION_TYPE]
-#define void_ftype c_global_trees[CTI_VOID_FTYPE]
-#define void_ftype_ptr c_global_trees[CTI_VOID_FTYPE_PTR]
-#define int_ftype_int c_global_trees[CTI_INT_FTYPE_INT]
-#define ptr_ftype_sizetype c_global_trees[CTI_PTR_FTYPE_SIZETYPE]
/* g77 integer types, which which must be kept in sync with f/com.h */
#define g77_integer_type_node c_global_trees[CTI_G77_INTEGER_TYPE]