Commit bb9a7f51 by Nathan Froyd Committed by Nathan Froyd

objc-act.c (build_next_objc_exception_stuff): Give setjmp a varargs type instead…

objc-act.c (build_next_objc_exception_stuff): Give setjmp a varargs type instead of a zero-argument type.

	* objc-act.c (build_next_objc_exception_stuff): Give setjmp a
	varargs type instead of a zero-argument type.

From-SVN: r160112
parent 5936d944
2010-06-01 Nathan Froyd <froydnj@codesourcery.com>
* objc-act.c (build_next_objc_exception_stuff): Give setjmp a
varargs type instead of a zero-argument type.
2010-05-30 Nathan Froyd <froydnj@codesourcery.com> 2010-05-30 Nathan Froyd <froydnj@codesourcery.com>
* objc-act.c (synth_module_prologue): Use build_function_type_list * objc-act.c (synth_module_prologue): Use build_function_type_list
......
...@@ -4092,7 +4092,7 @@ build_next_objc_exception_stuff (void) ...@@ -4092,7 +4092,7 @@ build_next_objc_exception_stuff (void)
/* int _setjmp(...); */ /* int _setjmp(...); */
/* If the user includes <setjmp.h>, this shall be superseded by /* If the user includes <setjmp.h>, this shall be superseded by
'int _setjmp(jmp_buf);' */ 'int _setjmp(jmp_buf);' */
temp_type = build_function_type_list (integer_type_node, NULL_TREE); temp_type = build_varargs_function_type_list (integer_type_node, NULL_TREE);
objc_setjmp_decl objc_setjmp_decl
= add_builtin_function (TAG_SETJMP, temp_type, 0, NOT_BUILT_IN, NULL, NULL_TREE); = add_builtin_function (TAG_SETJMP, temp_type, 0, NOT_BUILT_IN, NULL, NULL_TREE);
......
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