(init_decl_processing): Add definitions for __builtin_setjmp and
authorRichard Kenner <kenner@gcc.gnu.org>
Sat, 27 Jan 1996 12:58:08 +0000 (07:58 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Sat, 27 Jan 1996 12:58:08 +0000 (07:58 -0500)
__builtin_longjmp.

From-SVN: r11113

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