diff options
| author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-02 22:10:15 +0000 |
|---|---|---|
| committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-02 22:10:15 +0000 |
| commit | 3cd3ebca7fcfe4a559a0930ce3ad56c4fd72ecb5 (patch) | |
| tree | dd24424e72b1e672dea905fdb078d42d5ca7ef8d | |
| parent | 5b0a320eca3bdb5568eda978534adf7ad5edc4ca (diff) | |
| download | ppe42-gcc-3cd3ebca7fcfe4a559a0930ce3ad56c4fd72ecb5.tar.gz ppe42-gcc-3cd3ebca7fcfe4a559a0930ce3ad56c4fd72ecb5.zip | |
* stmt.c (expand_asm_operands): Fix index into inout_mode when
reading it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29066 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/stmt.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e73dd7dc76f..5732fbc3ccc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/stmt.c b/gcc/stmt.c index f0548b494ed..64b9232c5b1 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 |

