builtins.c (expand_builtin_setjmp_setup): Set current_function_has_nonlocal_label.

* builtins.c (expand_builtin_setjmp_setup): Set
        current_function_has_nonlocal_label.

From-SVN: r38060
This commit is contained in:
Jeffrey A Law 2000-12-06 03:09:49 +00:00 committed by Jeff Law
parent 239a3da093
commit dfb2c798ab
2 changed files with 9 additions and 0 deletions

View 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

View 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.