diff options
author | Jan Hubicka <jh@suse.cz> | 2001-10-28 17:10:12 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2001-10-28 16:10:12 +0000 |
commit | 58f698416a94f2068d59a71cc6b93ede60f7a405 (patch) | |
tree | 670a6dabfa24fc11743a8733c9abae1e04881ec1 /gcc/expr.c | |
parent | 61cb205c64dac1c3d69c8d1e51b14f37f0b09d1b (diff) | |
download | gcc-58f698416a94f2068d59a71cc6b93ede60f7a405.tar.gz |
expr.c (emit_group_load): Support CONCATs by storing them to memory and reloading.
* expr.c (emit_group_load): Support CONCATs by storing them to memory
and reloading.
From-SVN: r46586
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/expr.c b/gcc/expr.c index c0ddd98042e..b5c5989991f 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -2020,6 +2020,14 @@ emit_group_load (dst, orig_src, ssize, align) else if (bytepos == (HOST_WIDE_INT) GET_MODE_SIZE (GET_MODE (XEXP (src, 0))) && bytelen == GET_MODE_SIZE (GET_MODE (XEXP (src, 1)))) tmps[i] = XEXP (src, 1); + else if (bytepos == 0) + { + rtx mem; + mem = assign_stack_temp (GET_MODE (src), + GET_MODE_SIZE (GET_MODE (src)), 0); + emit_move_insn (mem, src); + tmps[i] = change_address (mem, mode, XEXP (mem, 0)); + } else abort (); } |