summaryrefslogtreecommitdiffstats
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1997-06-10 21:39:22 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1997-06-10 21:39:22 +0000
commit12cd496b300f61be9448298e4b46c1e6b5191553 (patch)
treefaf3e34ff36375f8c8ed9bac8492323950b2ae5d /gcc/expr.c
parent5fe7391e0ce48af87fd25bb31be39a68c2e0e2f2 (diff)
downloadppe42-gcc-12cd496b300f61be9448298e4b46c1e6b5191553.tar.gz
ppe42-gcc-12cd496b300f61be9448298e4b46c1e6b5191553.zip
(emit_group_load): Add case using gen_lowpart.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14224 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 537eefba8aa..b3ca5395475 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 ();
}
OpenPOWER on IntegriCloud