diff options
author | Mark Mitchell <mmitchel@gcc.gnu.org> | 2001-05-25 20:00:59 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2001-05-25 20:00:59 +0000 |
commit | 1084128584fe3cb13ba54924a80d1647b7f73387 (patch) | |
tree | a6b2476cc75872ea15f87872782af87262afe2cb /gcc/c-decl.c | |
parent | c132505efe4f642232b69b6e2dca1349148d9b74 (diff) | |
download | gcc-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-decl.c')
-rw-r--r-- | gcc/c-decl.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 7588885..75c8f8a 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -3056,36 +3056,6 @@ init_decl_processing () g77_ulongint_type_node)); } - builtin_function ("__builtin_aggregate_incoming_address", - build_function_type (ptr_type_node, NULL_TREE), - BUILT_IN_AGGREGATE_INCOMING_ADDRESS, - BUILT_IN_NORMAL, NULL); - - /* Hooks for the DWARF 2 __throw routine. */ - builtin_function ("__builtin_unwind_init", - build_function_type (void_type_node, endlink), - BUILT_IN_UNWIND_INIT, BUILT_IN_NORMAL, NULL); - builtin_function ("__builtin_dwarf_cfa", ptr_ftype_void, - BUILT_IN_DWARF_CFA, BUILT_IN_NORMAL, NULL); - builtin_function ("__builtin_dwarf_fp_regnum", - build_function_type (unsigned_type_node, endlink), - BUILT_IN_DWARF_FP_REGNUM, BUILT_IN_NORMAL, NULL); - builtin_function ("__builtin_init_dwarf_reg_size_table", void_ftype_ptr, - BUILT_IN_INIT_DWARF_REG_SIZES, BUILT_IN_NORMAL, NULL); - builtin_function ("__builtin_frob_return_addr", ptr_ftype_ptr, - BUILT_IN_FROB_RETURN_ADDR, BUILT_IN_NORMAL, NULL); - builtin_function ("__builtin_extract_return_addr", ptr_ftype_ptr, - BUILT_IN_EXTRACT_RETURN_ADDR, BUILT_IN_NORMAL, NULL); - builtin_function - ("__builtin_eh_return", - build_function_type (void_type_node, - tree_cons (NULL_TREE, - type_for_mode (ptr_mode, 0), - tree_cons (NULL_TREE, - ptr_type_node, - endlink))), - BUILT_IN_EH_RETURN, BUILT_IN_NORMAL, NULL); - pedantic_lvalues = pedantic; make_fname_decl = c_make_fname_decl; |