summaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-26 23:17:57 +0000
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-26 23:17:57 +0000
commit5e19bed1dd07f23ae520d5c86296db179367220a (patch)
tree969be6cdf8e58e2b1c6464d76816b2d8aa1ad641 /gcc/expr.c
parentcf718c6de67bb267d5638bbece15ec9dbc9b3a6a (diff)
downloadgcc-5e19bed1dd07f23ae520d5c86296db179367220a.tar.gz
* expr.c (emit_group_store): Do not treat floats as BLKmode.
(emit_group_load): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89612 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index e71c22f8df3..f5abce705a0 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -1567,10 +1567,11 @@ emit_group_load (rtx dst, rtx orig_src, tree type ATTRIBUTE_UNUSED, int ssize)
{
rtx *tmps, src;
int start, i;
+ enum machine_mode m = GET_MODE (orig_src);
gcc_assert (GET_CODE (dst) == PARALLEL);
- if (!SCALAR_INT_MODE_P (GET_MODE (orig_src)))
+ if (!SCALAR_INT_MODE_P (m) && m != BLKmode)
{
enum machine_mode imode = int_mode_for_mode (GET_MODE (orig_src));
if (imode == BLKmode)
@@ -1740,10 +1741,11 @@ emit_group_store (rtx orig_dst, rtx src, tree type ATTRIBUTE_UNUSED, int ssize)
{
rtx *tmps, dst;
int start, i;
+ enum machine_mode m = GET_MODE (orig_dst);
gcc_assert (GET_CODE (src) == PARALLEL);
- if (!SCALAR_INT_MODE_P (GET_MODE (orig_dst)))
+ if (!SCALAR_INT_MODE_P (m) && m != BLKmode)
{
enum machine_mode imode = int_mode_for_mode (GET_MODE (orig_dst));
if (imode == BLKmode)