OSDN Git Service

(init_decl_processing): Add definitions for __builtin_setjmp and
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 27 Jan 1996 12:58:08 +0000 (12:58 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 27 Jan 1996 12:58:08 +0000 (12:58 +0000)
__builtin_longjmp.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11113 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/c-decl.c

index 0afbcd0..70fa447 100644 (file)
@@ -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