builtins.c (DEF_BUILTIN): Add COND argument.
authorRichard Henderson <rth@gcc.gnu.org>
Thu, 10 Feb 2005 00:22:25 +0000 (16:22 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 10 Feb 2005 00:22:25 +0000 (16:22 -0800)
commitc6a912da40b0f909bdafcf6e2afb69068a20f503
tree4ed79a7176ee65e1fb619e14384a1bc2dd57d091
parentaf9777199237969ff0cb1d720436f6811f6a1fc8
builtins.c (DEF_BUILTIN): Add COND argument.

        * builtins.c (DEF_BUILTIN): Add COND argument.
        * tree.h (DEF_BUILTIN): Likewise.
        * builtins.def (DEF_GCC_BUILTIN, DEF_LIB_BUILTIN, DEF_EXT_LIB_BUILTIN,
        DEF_C94_BUILTIN, DEF_C99_BUILTIN, DEF_C99_C90RES_BUILTIN): Update to
        match.
        (DEF_BUILTIN_STUB): New.
        (BUILT_IN_STACK_SAVE, BUILT_IN_STACK_RESTORE, BUILT_IN_INIT_TRAMPOLINE,
        BUILT_IN_ADJUST_TRAMPOLINE, BUILT_IN_NONLOCAL_GOTO,
        BUILT_IN_PROFILE_FUNC_ENTER, BUILT_IN_PROFILE_FUNC_EXIT): Use it.
        * c-common.c (DEF_BUILTIN): Add COND argument.
        * tree.c (local_define_builtin): New.
        (build_common_builtin_nodes): New.
ada/
        * utils.c (gnat_define_builtin): Remove.
        (gnat_install_builtins): Use build_common_builtin_nodes.
fortran/
        * f95-lang.c (gfc_init_builtin_functions): Call
        build_common_builtin_nodes; do not define any functions handled
        by it.
java/
        * builtins.c (initialize_builtins): Call build_common_builtin_nodes.
        * decl.c (java_init_decl_processing): Initialize const_ptr_type_node.
treelang/
        * treetree.c (treelang_init_decl_processing): Call
        build_common_builtin_nodes.

From-SVN: r94785
15 files changed:
gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/utils.c
gcc/builtins.c
gcc/builtins.def
gcc/c-common.c
gcc/fortran/ChangeLog
gcc/fortran/f95-lang.c
gcc/java/ChangeLog
gcc/java/builtins.c
gcc/java/decl.c
gcc/tree.c
gcc/tree.h
gcc/treelang/ChangeLog
gcc/treelang/treetree.c