diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1995-01-25 15:09:41 -0800 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1995-01-25 15:09:41 -0800 |
commit | fa2981d865a08fd388fad6480959a7a965f880ea (patch) | |
tree | 46cdc805c77207f87a14ecde3d49e0296a856be1 /gcc | |
parent | 772c85b0ec1d1ce75eeb057db4e56a83c2475b68 (diff) | |
download | gcc-fa2981d865a08fd388fad6480959a7a965f880ea.zip gcc-fa2981d865a08fd388fad6480959a7a965f880ea.tar.gz gcc-fa2981d865a08fd388fad6480959a7a965f880ea.tar.bz2 |
(expand_expr, case MIN_EXPR): If must emit multiple
instructions, then don't allow a MEM target.
From-SVN: r8822
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/expr.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -5447,6 +5447,12 @@ expand_expr (exp, target, tmode, modifier) if (temp != 0) return temp; + /* At this point, a MEM target is no longer useful; we will get better + code without it. */ + + if (GET_CODE (target) == MEM) + target = gen_reg_rtx (mode); + if (target != op0) emit_move_insn (target, op0); |