]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* objc-act.c (build_next_objc_exception_stuff): Give setjmp a
authorfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Jun 2010 15:54:39 +0000 (15:54 +0000)
committerfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Jun 2010 15:54:39 +0000 (15:54 +0000)
varargs type instead of a zero-argument type.

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

gcc/objc/ChangeLog
gcc/objc/objc-act.c

index 40b978092d9cd731deed90e2b9ad714512316e2e..1a4241cc8abbe050221d28fdaf62ed52477617ed 100644 (file)
@@ -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
index 4a6f825f844c1e1a7609638ba314bf06b459b03c..37289a28d2bfa0a7444599d2fee9f3c4a9f3c531 100644 (file)
@@ -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);