From: danglin Date: Sat, 20 Jan 2007 16:27:06 +0000 (+0000) Subject: * pa.c (output_move_double): Change array size of xoperands to 4. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b2f8bd14bc2b0a5aeefc7bc6621ad61fa19874d9;p=thirdparty%2Fgcc.git * pa.c (output_move_double): Change array size of xoperands to 4. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121002 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a3693d9f616a..76a3fbb5e21e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2007-01-20 John David Anglin + + * pa.c (output_move_double): Change array size of xoperands to 4. + 2007-01-20 Jan Hubicka * tree-tailcall.c (adjust_return_value): Do not use RESULT_DECL diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 59f9dfd4d32c..0430853ab3eb 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -2337,12 +2337,11 @@ output_move_double (rtx *operands) else if (GET_CODE (addr) == PLUS && GET_CODE (XEXP (addr, 0)) == MULT) { + rtx xoperands[4]; rtx high_reg = gen_rtx_SUBREG (SImode, operands[0], 0); if (!reg_overlap_mentioned_p (high_reg, addr)) { - rtx xoperands[3]; - xoperands[0] = high_reg; xoperands[1] = XEXP (addr, 1); xoperands[2] = XEXP (XEXP (addr, 0), 0); @@ -2353,8 +2352,6 @@ output_move_double (rtx *operands) } else { - rtx xoperands[3]; - xoperands[0] = high_reg; xoperands[1] = XEXP (addr, 1); xoperands[2] = XEXP (XEXP (addr, 0), 0);