aboutsummaryrefslogtreecommitdiff
path: root/gcc/stmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r--gcc/stmt.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/stmt.c b/gcc/stmt.c
index db0b77d..1839034 100644
--- a/gcc/stmt.c
+++ b/gcc/stmt.c
@@ -4027,9 +4027,13 @@ expand_decl_cleanup_no_eh (decl, cleanup)
tree decl, cleanup;
{
int save_eh = using_eh_for_cleanups_p;
+ int result;
+
using_eh_for_cleanups_p = 0;
- expand_decl_cleanup (decl, cleanup);
+ result = expand_decl_cleanup (decl, cleanup);
using_eh_for_cleanups_p = save_eh;
+
+ return result;
}
/* Arrange for the top element of the dynamic cleanup chain to be