Commit 4c6d8726 by John David Anglin Committed by John David Anglin

pa.c (output_move_double): Change array size of xoperands to 4.

	* pa.c (output_move_double): Change array size of xoperands to 4.

From-SVN: r121002
parent 7376d710
2007-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* pa.c (output_move_double): Change array size of xoperands to 4.
2007-01-20 Jan Hubicka <jh@suse.cz> 2007-01-20 Jan Hubicka <jh@suse.cz>
* tree-tailcall.c (adjust_return_value): Do not use RESULT_DECL * tree-tailcall.c (adjust_return_value): Do not use RESULT_DECL
......
...@@ -2337,12 +2337,11 @@ output_move_double (rtx *operands) ...@@ -2337,12 +2337,11 @@ output_move_double (rtx *operands)
else if (GET_CODE (addr) == PLUS else if (GET_CODE (addr) == PLUS
&& GET_CODE (XEXP (addr, 0)) == MULT) && GET_CODE (XEXP (addr, 0)) == MULT)
{ {
rtx xoperands[4];
rtx high_reg = gen_rtx_SUBREG (SImode, operands[0], 0); rtx high_reg = gen_rtx_SUBREG (SImode, operands[0], 0);
if (!reg_overlap_mentioned_p (high_reg, addr)) if (!reg_overlap_mentioned_p (high_reg, addr))
{ {
rtx xoperands[3];
xoperands[0] = high_reg; xoperands[0] = high_reg;
xoperands[1] = XEXP (addr, 1); xoperands[1] = XEXP (addr, 1);
xoperands[2] = XEXP (XEXP (addr, 0), 0); xoperands[2] = XEXP (XEXP (addr, 0), 0);
...@@ -2353,8 +2352,6 @@ output_move_double (rtx *operands) ...@@ -2353,8 +2352,6 @@ output_move_double (rtx *operands)
} }
else else
{ {
rtx xoperands[3];
xoperands[0] = high_reg; xoperands[0] = high_reg;
xoperands[1] = XEXP (addr, 1); xoperands[1] = XEXP (addr, 1);
xoperands[2] = XEXP (XEXP (addr, 0), 0); xoperands[2] = XEXP (XEXP (addr, 0), 0);
......
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