diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2010-06-01 15:54:39 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@gcc.gnu.org> | 2010-06-01 15:54:39 +0000 |
commit | bb9a7f511a3e3fff83ea40d2140a7759456f6b19 (patch) | |
tree | e9494bb968cb382272cdcc601311ffa4a39fa49e /gcc/objc | |
parent | 5936d944f8fffbb02f9c694645d37f60603a8a25 (diff) | |
download | gcc-bb9a7f511a3e3fff83ea40d2140a7759456f6b19.zip gcc-bb9a7f511a3e3fff83ea40d2140a7759456f6b19.tar.gz gcc-bb9a7f511a3e3fff83ea40d2140a7759456f6b19.tar.bz2 |
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
Diffstat (limited to 'gcc/objc')
-rw-r--r-- | gcc/objc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/objc/objc-act.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index 40b9780..1a4241c 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,3 +1,8 @@ +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> * objc-act.c (synth_module_prologue): Use build_function_type_list diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 4a6f825..37289a2 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -4092,7 +4092,7 @@ build_next_objc_exception_stuff (void) /* int _setjmp(...); */ /* If the user includes <setjmp.h>, this shall be superseded by '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 = add_builtin_function (TAG_SETJMP, temp_type, 0, NOT_BUILT_IN, NULL, NULL_TREE); |