mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 23:11:36 +08:00
(emit_group_store): For REG case, call gen_lowpart if
modes are different. From-SVN: r13152
This commit is contained in:
parent
ca8a7793bf
commit
71bc03306f
@ -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 ();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user