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
This commit is contained in:
J"orn Rennecke 1999-09-02 22:10:15 +00:00 committed by Joern Rennecke
parent d593dd8c6a
commit ad7342be69
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
* stmt.c (expand_asm_operands): Fix index into inout_mode when
reading it.
Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
* stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.

View File

@ -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