Commit 71bc0330 by Jim Wilson

(emit_group_store): For REG case, call gen_lowpart if

modes are different.

From-SVN: r13152
parent ca8a7793
...@@ -1846,7 +1846,11 @@ emit_group_store (x, y) ...@@ -1846,7 +1846,11 @@ emit_group_store (x, y)
plus_constant (XEXP (x, 0), plus_constant (XEXP (x, 0),
INTVAL (XEXP (element, 1)))); INTVAL (XEXP (element, 1))));
else if (XEXP (element, 1) == const0_rtx) 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 else
abort (); abort ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment