diff options
author | Richard Stallman <rms@gnu.org> | 1992-12-16 03:28:06 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-12-16 03:28:06 +0000 |
commit | b84f9d9cd2adf2553daeecf777bc1f347e55862b (patch) | |
tree | 3a4bbd7c1ff146d8e6737967309c6ad9a5b58dda /gcc | |
parent | e063ca5c2deafde44a0e25892d3fff3dcdcdc43c (diff) | |
download | gcc-b84f9d9cd2adf2553daeecf777bc1f347e55862b.zip gcc-b84f9d9cd2adf2553daeecf777bc1f347e55862b.tar.gz gcc-b84f9d9cd2adf2553daeecf777bc1f347e55862b.tar.bz2 |
(eliminate_regs_in_insn): Test old_body, not new_body, since
people have tested it that way.
From-SVN: r2879
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/reload1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c index 6175b3c..75738ef 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -3003,7 +3003,7 @@ eliminate_regs_in_insn (insn, replace) /* Don't copy an asm_operands because (1) there's no need and (2) copy_rtx can't do it properly when there are multiple outputs. */ - if (! replace && asm_noperands (new_body) < 0) + if (! replace && asm_noperands (old_body) < 0) new_body = copy_rtx (new_body); /* If we had a move insn but now we don't, rerecognize it. */ |