diff options
author | Andrew Haley <aph@cambridge.redhat.com> | 2001-04-26 17:49:01 +0000 |
---|---|---|
committer | Andrew Haley <aph@gcc.gnu.org> | 2001-04-26 17:49:01 +0000 |
commit | c10f3adf7b0c6c278566b7bda430f26ad2c5cf5d (patch) | |
tree | 67feae7e48875484e12c0eac8c36877432587fba /gcc | |
parent | 3da5d5c8d89d5bd2c31ae1f497d451f0f7f4a3f9 (diff) | |
download | gcc-c10f3adf7b0c6c278566b7bda430f26ad2c5cf5d.zip gcc-c10f3adf7b0c6c278566b7bda430f26ad2c5cf5d.tar.gz gcc-c10f3adf7b0c6c278566b7bda430f26ad2c5cf5d.tar.bz2 |
except.c (expand_eh_region_end_cleanup): Force pending stack adjust before emitting label that branches around cleanup code.
2001-04-26 Andrew Haley <aph@redhat.com>
* except.c (expand_eh_region_end_cleanup): Force pending stack
adjust before emitting label that branches around cleanup code.
From-SVN: r41598
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/except.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3c8e684..57205d1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-04-26 Andrew Haley <aph@cambridge.redhat.com> + + * except.c (expand_eh_region_end_cleanup): Force pending stack + adjust before emitting label that branches around cleanup code. + 2001-04-26 H.J. Lu (hjl@gnu.org) * config.gcc (mips*-*-linux*): Add elfos.h to tm_file. diff --git a/gcc/except.c b/gcc/except.c index 790f2ce..163d5ed 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -750,6 +750,9 @@ expand_eh_region_end_cleanup (handler) if (protect_cleanup_actions) expand_eh_region_end_must_not_throw (protect_cleanup_actions); + /* We need any stack adjustment complete before the around_label. */ + do_pending_stack_adjust (); + /* We delay the generation of the _Unwind_Resume until we generate landing pads. We emit a marker here so as to get good control flow data in the meantime. */ |