summaryrefslogtreecommitdiff
path: root/gcc/stmt.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-01-14 20:57:58 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-01-14 20:57:58 +0000
commit220345e0620e402f170696f15570e3f47a1bec43 (patch)
tree028c0425d9847ebff16ca9566dcf696998e902b9 /gcc/stmt.c
parent4b2eb5772fc4730e07ae4881d2deca5cc50331b6 (diff)
downloadgcc-220345e0620e402f170696f15570e3f47a1bec43.tar.gz
Bring in final gcc-2.8.0 changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17355 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r--gcc/stmt.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/stmt.c b/gcc/stmt.c
index 78e5b543494..c0e400b06cb 100644
--- a/gcc/stmt.c
+++ b/gcc/stmt.c
@@ -1574,7 +1574,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. */