summaryrefslogtreecommitdiffstats
path: root/gcc/except.c
diff options
context:
space:
mode:
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-26 17:49:01 +0000
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-26 17:49:01 +0000
commit9dd8ca09eb17fb0c3509979c2cefdf37bcd2b413 (patch)
tree67feae7e48875484e12c0eac8c36877432587fba /gcc/except.c
parent90f6cf7cfc22500a8e854e19214c5d089332ba26 (diff)
downloadppe42-gcc-9dd8ca09eb17fb0c3509979c2cefdf37bcd2b413.tar.gz
ppe42-gcc-9dd8ca09eb17fb0c3509979c2cefdf37bcd2b413.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41598 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/except.c')
-rw-r--r--gcc/except.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/except.c b/gcc/except.c
index 790f2ce4ec5..163d5ed17c9 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. */
OpenPOWER on IntegriCloud