aboutsummaryrefslogtreecommitdiff
path: root/gcc/stmt.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-01-14 19:39:37 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-01-14 19:39:37 +0000
commit16aedcbd2d5546ceb2e80616ba738a8edd577064 (patch)
tree5399874d74e14de73a5baf61938cc8e81787046d /gcc/stmt.c
parentd721838658d4ee24af66c16dd8c42911b7cfd523 (diff)
Import of real gcc-2.8.0 sources.gcc-2_8_0-release
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc3@17354 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r--gcc/stmt.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/gcc/stmt.c b/gcc/stmt.c
index 30bd84c5c6b..9451012d13b 100644
--- a/gcc/stmt.c
+++ b/gcc/stmt.c
@@ -1565,7 +1565,10 @@ expand_asm_operands (string, outputs, inputs, clobbers, vol, filename, line)
body = gen_rtx (ASM_OPERANDS, VOIDmode,
TREE_STRING_POINTER (string), "", 0, argvec, constraints,
filename, line);
- MEM_VOLATILE_P (body) = vol;
+
+ /* The only use of BODY is if no outputs are specified, so set
+ it volatile, at least for now. */
+ MEM_VOLATILE_P (body) = 1;
/* Eval the inputs and put them into ARGVEC.
Put their constraints into ASM_INPUTs and store in CONSTRAINTS. */
@@ -4026,9 +4029,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