OSDN Git Service

* recog.c (validate_replace_rtx_1): Correct MODE parameter in call
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Sep 2000 19:34:27 +0000 (19:34 +0000)
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Sep 2000 19:34:27 +0000 (19:34 +0000)
to operand_subword.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36281 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/recog.c

index 1441c2f..004785a 100644 (file)
@@ -1,3 +1,8 @@
+2000-09-09  Geoff Keating  <geoffk@cygnus.com>
+
+       * recog.c (validate_replace_rtx_1): Correct MODE parameter in call
+       to operand_subword.
+
 2000-09-10  Michael Hayes  <mhayes@cygnus.com>
 
        * loop.c (struct movables): New.
index 7f35c9f..87f8137 100644 (file)
@@ -505,7 +505,7 @@ validate_replace_rtx_1 (loc, from, to, object)
              && GET_MODE_CLASS (GET_MODE (x)) == MODE_INT)
            {
              rtx temp = operand_subword (to, SUBREG_WORD (x),
-                                         0, GET_MODE (x));
+                                         0, GET_MODE (from));
              if (temp)
                {
                  validate_change (object, loc, temp, 1);