aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/pa
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>2007-01-20 16:27:06 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2007-01-20 16:27:06 +0000
commit4c6d872614cac3f9a747b355f870ddf760c9db37 (patch)
tree0ad09f236a16a1116c99048fe8dd2a03a6ada16c /gcc/config/pa
parent7376d710da5b99c42b2f2e6666075512601e5ded (diff)
downloadgcc-4c6d872614cac3f9a747b355f870ddf760c9db37.zip
gcc-4c6d872614cac3f9a747b355f870ddf760c9db37.tar.gz
gcc-4c6d872614cac3f9a747b355f870ddf760c9db37.tar.bz2
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
Diffstat (limited to 'gcc/config/pa')
-rw-r--r--gcc/config/pa/pa.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index 59f9dfd..0430853 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);