aboutsummaryrefslogtreecommitdiff
path: root/gcc/stmt.c
diff options
context:
space:
mode:
authorJ"orn Rennecke <amylaar@cygnus.co.uk>1999-09-02 22:10:15 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>1999-09-02 23:10:15 +0100
commitad7342be69761f32de99198fd8461cbcc4ff884e (patch)
treedd24424e72b1e672dea905fdb078d42d5ca7ef8d /gcc/stmt.c
parentd593dd8c6ad055660e9ddd4112363f1b88827fb6 (diff)
downloadgcc-ad7342be69761f32de99198fd8461cbcc4ff884e.zip
gcc-ad7342be69761f32de99198fd8461cbcc4ff884e.tar.gz
gcc-ad7342be69761f32de99198fd8461cbcc4ff884e.tar.bz2
stmt.c (expand_asm_operands): Fix index into inout_mode when reading it.
* stmt.c (expand_asm_operands): Fix index into inout_mode when reading it. From-SVN: r29066
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r--gcc/stmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/stmt.c b/gcc/stmt.c
index f0548b4..64b9232 100644
--- a/gcc/stmt.c
+++ b/gcc/stmt.c
@@ -1552,7 +1552,7 @@ expand_asm_operands (string, outputs, inputs, clobbers, vol, filename, line)
XVECEXP (body, 3, ninputs - ninout + i) /* argvec */
= output_rtx[j];
XVECEXP (body, 4, ninputs - ninout + i) /* constraints */
- = gen_rtx_ASM_INPUT (inout_mode[j], match[j]);
+ = gen_rtx_ASM_INPUT (inout_mode[i], match[j]);
}
/* Now, for each output, construct an rtx