Commit 091480e5 by Richard Kenner

(init_decl_processing): Add definitions for __builtin_setjmp and

__builtin_longjmp.

From-SVN: r11113
parent 4ed67205
...@@ -3224,6 +3224,19 @@ init_decl_processing () ...@@ -3224,6 +3224,19 @@ init_decl_processing ()
BUILT_IN_COS, "cos"); BUILT_IN_COS, "cos");
builtin_function ("__builtin_cosl", ldouble_ftype_ldouble, builtin_function ("__builtin_cosl", ldouble_ftype_ldouble,
BUILT_IN_COS, "cosl"); 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 /* In an ANSI C program, it is okay to supply built-in meanings
for these functions, since applications cannot validly use them for these functions, since applications cannot validly use them
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment