diff options
author | Richard Henderson <rth@gcc.gnu.org> | 2005-02-09 16:22:25 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2005-02-09 16:22:25 -0800 |
commit | c6a912da40b0f909bdafcf6e2afb69068a20f503 (patch) | |
tree | 4ed79a7176ee65e1fb619e14384a1bc2dd57d091 /gcc/treelang | |
parent | af9777199237969ff0cb1d720436f6811f6a1fc8 (diff) | |
download | gcc-c6a912da40b0f909bdafcf6e2afb69068a20f503.zip gcc-c6a912da40b0f909bdafcf6e2afb69068a20f503.tar.gz gcc-c6a912da40b0f909bdafcf6e2afb69068a20f503.tar.bz2 |
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
Diffstat (limited to 'gcc/treelang')
-rw-r--r-- | gcc/treelang/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/treelang/treetree.c | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/treelang/ChangeLog b/gcc/treelang/ChangeLog index 75d2082..35d4710 100644 --- a/gcc/treelang/ChangeLog +++ b/gcc/treelang/ChangeLog @@ -1,3 +1,8 @@ +2005-02-09 Richard Henderson <rth@redhat.com> + + * treetree.c (treelang_init_decl_processing): Call + build_common_builtin_nodes. + 2005-02-06 Joseph S. Myers <joseph@codesourcery.com> * treelang.texi: Don't use local treelang version number. Don't @@ -5,7 +10,7 @@ 2005-02-01 James A. Morrison <phython@gcc.gnu.org> - * (lex.l): Undef LINEMAP_POSITION_FOR_COLUMN before defining it. + * lex.l: Undef LINEMAP_POSITION_FOR_COLUMN before defining it. 2005-02-01 James A. Morrison <phython@gcc.gnu.org> diff --git a/gcc/treelang/treetree.c b/gcc/treelang/treetree.c index b621fad..54dcb46 100644 --- a/gcc/treelang/treetree.c +++ b/gcc/treelang/treetree.c @@ -1209,7 +1209,7 @@ treelang_init_decl_processing (void) tree_push_type_decl (get_identifier ("long double"), long_double_type_node); tree_push_type_decl (get_identifier ("void"), void_type_node); - /* Add any target-specific builtin functions. */ + build_common_builtin_nodes (); (*targetm.init_builtins) (); pedantic_lvalues = pedantic; |