aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2004-10-19 00:06:36 +0200
committerEric Botcazou <ebotcazou@gcc.gnu.org>2004-10-18 22:06:36 +0000
commita494ed43ab2c384d58b403e38be9109ad2978de1 (patch)
treefbc2c77e2ddf6b70e1a93ba6afc611f8b36b9730 /gcc/expr.h
parent829acd784a11c16452dddf656ae2f63c5670bf7d (diff)
downloadgcc-a494ed43ab2c384d58b403e38be9109ad2978de1.zip
gcc-a494ed43ab2c384d58b403e38be9109ad2978de1.tar.gz
gcc-a494ed43ab2c384d58b403e38be9109ad2978de1.tar.bz2
re PR middle-end/17813 (ada bootstrap failure on i486-linux)
PR middle-end/17813 * dojump.c (discard_pending_stack_adjust): New function. (clear_pending_stack_adjust): Call it. * expr.h (discard_pending_stack_adjust): Declare it. * explow.c (emit_stack_save): Emit pending stack adjustments before saving the stack pointer. (emit_stack_restore): Discard pending stack adjustments before restoring the stack pointer. Co-Authored-By: Roger Sayle <roger@eyesopen.com> From-SVN: r89251
Diffstat (limited to 'gcc/expr.h')
-rw-r--r--gcc/expr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/expr.h b/gcc/expr.h
index 2f693bb..dc66239 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -499,6 +499,9 @@ extern void expand_var (tree);
arguments waiting to be popped. */
extern void init_pending_stack_adjust (void);
+/* Discard any pending stack adjustment. */
+extern void discard_pending_stack_adjust (void);
+
/* When exiting from function, if safe, clear out any pending stack adjust
so the adjustment won't get done. */
extern void clear_pending_stack_adjust (void);