diff options
author | Jeffrey A Law <law@cygnus.com> | 2000-12-06 03:09:49 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2000-12-05 20:09:49 -0700 |
commit | dfb2c798ab94f7a4356b9ac9fc07e4b82d164de1 (patch) | |
tree | dbe5ba571969039905ee3f540c54efd6416f2dea /gcc/builtins.c | |
parent | 239a3da0939f86f7d5b455d609e01480d9a566e7 (diff) | |
download | gcc-dfb2c798ab94f7a4356b9ac9fc07e4b82d164de1.zip gcc-dfb2c798ab94f7a4356b9ac9fc07e4b82d164de1.tar.gz gcc-dfb2c798ab94f7a4356b9ac9fc07e4b82d164de1.tar.bz2 |
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
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r-- | gcc/builtins.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c index d6fa5bb..cbf9acd 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -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. |