projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca8a779
)
(emit_group_store): For REG case, call gen_lowpart if
author
Jim Wilson
<wilson@gcc.gnu.org>
Tue, 12 Nov 1996 23:46:05 +0000
(15:46 -0800)
committer
Jim Wilson
<wilson@gcc.gnu.org>
Tue, 12 Nov 1996 23:46:05 +0000
(15:46 -0800)
modes are different.
From-SVN: r13152
gcc/expr.c
patch
|
blob
|
history
diff --git
a/gcc/expr.c
b/gcc/expr.c
index 60501a55962f9ef980f9d515516bb7d6c9061ba8..15e036b465e362880689a51a55a23f1eb0d76a4b 100644
(file)
--- a/
gcc/expr.c
+++ b/
gcc/expr.c
@@
-1846,7
+1846,11
@@
emit_group_store (x, y)
plus_constant (XEXP (x, 0),
INTVAL (XEXP (element, 1))));
else if (XEXP (element, 1) == const0_rtx)
- target = x;
+ {
+ target = x;
+ if (GET_MODE (target) != GET_MODE (source_reg))
+ target = gen_lowpart (GET_MODE (source_reg), target);
+ }
else
abort ();