diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2001-11-02 22:17:11 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2001-11-02 22:17:11 +0000 |
commit | bafe341a4fa148de96ed187c17fd6ff43d8dce1c (patch) | |
tree | 95dff97480990ef8cb75822c4c129c751c04cb4c /gcc/expr.c | |
parent | bb33f166a569d867b1bdf207e183f63cfb634682 (diff) | |
download | gcc-bafe341a4fa148de96ed187c17fd6ff43d8dce1c.zip gcc-bafe341a4fa148de96ed187c17fd6ff43d8dce1c.tar.gz gcc-bafe341a4fa148de96ed187c17fd6ff43d8dce1c.tar.bz2 |
expr.c (convert_move): Use simplify_gen_subreg to make SUBREG so we avoid SUBREGing memory.
* expr.c (convert_move): Use simplify_gen_subreg to make SUBREG so
we avoid SUBREGing memory.
From-SVN: r46722
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -544,9 +544,9 @@ convert_move (to, from, unsignedp) abort (); if (VECTOR_MODE_P (to_mode)) - from = gen_rtx_SUBREG (to_mode, from, 0); + from = simplify_gen_subreg (to_mode, from, GET_MODE (from), 0); else - to = gen_rtx_SUBREG (from_mode, to, 0); + to = simplify_gen_subreg (from_mode, to, GET_MODE (to), 0); emit_move_insn (to, from); return; |