]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
builtins.c (expand_builtin_setjmp_setup): Set current_function_has_nonlocal_label.
authorJeffrey A Law <law@cygnus.com>
Wed, 6 Dec 2000 03:09:49 +0000 (03:09 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 6 Dec 2000 03:09:49 +0000 (20:09 -0700)
        * builtins.c (expand_builtin_setjmp_setup): Set
        current_function_has_nonlocal_label.

From-SVN: r38060

gcc/ChangeLog
gcc/builtins.c

index d32d01426f15b0fef6d0c80aa31aa229c08cc19d..bc095849a482760de5c8edffb04062f533fa4ba1 100644 (file)
@@ -1,3 +1,8 @@
+Tue Dec  5 20:09:14 2000  Jeffrey A Law  (law@cygnus.com)
+
+       * builtins.c (expand_builtin_setjmp_setup): Set
+       current_function_has_nonlocal_label.
+
 2000-12-05  Neil Booth  <neilb@earthling.net>
 
         * cppfiles.c (stack_include_file): Push zero-length buffers
index d6fa5bb1f0b1ec6c4105c4faa9088c84276fff2a..cbf9acd55dea0751c86b228323091eebb68371b0 100644 (file)
@@ -511,6 +511,10 @@ expand_builtin_setjmp_setup (buf_addr, receiver_label)
   /* Tell optimize_save_area_alloca that extra work is going to
      need to go on during alloca.  */
   current_function_calls_setjmp = 1;
+
+  /* Set this so all the registers get saved in our frame; we need to be
+     able to copy the saved values for any registers from frames we unwind. */
+  current_function_has_nonlocal_label = 1;
 }
 
 /* Construct the trailing part of a __builtin_setjmp call.