OSDN Git Service

* builtins.c (expand_builtin_setjmp_setup): Set
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Dec 2000 03:09:49 +0000 (03:09 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Dec 2000 03:09:49 +0000 (03:09 +0000)
        current_function_has_nonlocal_label.

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

gcc/ChangeLog
gcc/builtins.c

index d32d014..bc09584 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 d6fa5bb..cbf9acd 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.