]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
pa.c (output_move_double): Change array size of xoperands to 4.
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Sat, 20 Jan 2007 16:39:21 +0000 (16:39 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 20 Jan 2007 16:39:21 +0000 (16:39 +0000)
* pa.c (output_move_double): Change array size of xoperands to 4.

From-SVN: r121005

gcc/ChangeLog
gcc/config/pa/pa.c

index efaa29a73f7e2878ccc089ad9c27e50714ba50c8..d46243d3c4961ebe9b15984c3d7f7e0cd3955a9b 100644 (file)
@@ -1,3 +1,7 @@
+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-17  Tom Tromey  <tromey@redhat.com>
 
        * doc/sourcebuild.texi (libgcj Tests): Use sourceware.org.
index b472f2b66b644e7e9ed2901fc65988f210c8b012..184d6f6606b992471116fc2b94dcb38630276f99 100644 (file)
@@ -2687,12 +2687,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);
@@ -2703,8 +2702,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);