aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1997-06-10 14:39:22 -0700
committerJim Wilson <wilson@gcc.gnu.org>1997-06-10 14:39:22 -0700
commitd7d775a019c3a310bf54759560c7392bb03ea669 (patch)
treefaf3e34ff36375f8c8ed9bac8492323950b2ae5d /gcc
parentb2e0187668a161b6f98282bf87fda6099ddf6bf1 (diff)
downloadgcc-d7d775a019c3a310bf54759560c7392bb03ea669.zip
gcc-d7d775a019c3a310bf54759560c7392bb03ea669.tar.gz
gcc-d7d775a019c3a310bf54759560c7392bb03ea669.tar.bz2
(emit_group_load): Add case using gen_lowpart.
From-SVN: r14224
Diffstat (limited to 'gcc')
-rw-r--r--gcc/expr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 537eefb..b3ca539 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -1813,6 +1813,9 @@ emit_group_load (x, y)
&& GET_MODE (target_reg) == word_mode)
/* This might be a const_double, so we can't just use SUBREG. */
source = operand_subword (y, 0, 0, VOIDmode);
+ else if (GET_MODE_SIZE (GET_MODE (target_reg))
+ == GET_MODE_SIZE (GET_MODE (y)))
+ source = gen_lowpart (GET_MODE (target_reg), y);
else
abort ();
}