summaryrefslogtreecommitdiff
path: root/gcc/stmt.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-02-05 20:59:44 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-02-05 20:59:44 +0000
commitab12bb6384293a054ff71e5f6e99f0545c2fe862 (patch)
tree685813c180a0475b6975bff38e46630b463b351d /gcc/stmt.c
parent31f820d2f0c249e563207f969c76d9c9a5bb726f (diff)
downloadgcc-ab12bb6384293a054ff71e5f6e99f0545c2fe862.tar.gz
* stmt.c (expand_asm_operands): Correctly identify asm statements
no operands. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17673 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r--gcc/stmt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/stmt.c b/gcc/stmt.c
index a1fa965fe9b..30c39ce84e5 100644
--- a/gcc/stmt.c
+++ b/gcc/stmt.c
@@ -1305,9 +1305,7 @@ expand_asm_operands (string, outputs, inputs, clobbers, vol, filename, line)
TREE_STRING_POINTER (string), "", 0, argvec,
constraints, filename, line);
- /* The only use of BODY is if no outputs are specified, so set
- it volatile, at least for now. */
- MEM_VOLATILE_P (body) = 1;
+ MEM_VOLATILE_P (body) = vol;
/* Eval the inputs and put them into ARGVEC.
Put their constraints into ASM_INPUTs and store in CONSTRAINTS. */