From 091480e54996cf49eb1593995d5691cae3d29d4e Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sat, 27 Jan 1996 07:58:08 -0500 Subject: [PATCH] (init_decl_processing): Add definitions for __builtin_setjmp and __builtin_longjmp. From-SVN: r11113 --- gcc/c-decl.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 0afbcd00ba6..70fa447c380 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -3224,6 +3224,19 @@ init_decl_processing () BUILT_IN_COS, "cos"); builtin_function ("__builtin_cosl", ldouble_ftype_ldouble, BUILT_IN_COS, "cosl"); + builtin_function ("__builtin_setjmp", + build_function_type (integer_type_node, + tree_cons (NULL_TREE, + ptr_type_node, endlink)), + BUILT_IN_SETJMP, NULL_PTR); + builtin_function ("__builtin_longjmp", + build_function_type + (void_type_node, + tree_cons (NULL, ptr_type_node, + tree_cons (NULL_TREE, + integer_type_node, + endlink))), + BUILT_IN_LONGJMP, NULL_PTR); /* In an ANSI C program, it is okay to supply built-in meanings for these functions, since applications cannot validly use them -- 2.30.2