* expr.c (force_operand): Fix reversed move.
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 May 2002 11:37:24 +0000 (11:37 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 May 2002 11:37:24 +0000 (11:37 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53556 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/expr.c

index a149bc9..87e1bac 100644 (file)
@@ -1,3 +1,7 @@
+2002-05-17  Richard Sandiford  <rsandifo@redhat.com>
+
+       * expr.c (force_operand): Fix reversed move.
+
 2002-05-17  Kurt Wall <kwall@kurtwerks.com>
 
        * doc/install.texi (Testing): Mention two common DejaGnu warnings
index c40a6df..0b741c6 100644 (file)
@@ -5549,7 +5549,7 @@ force_operand (value, target)
     {
       if (!target)
        target = gen_reg_rtx (GET_MODE (value));
-      convert_move (force_operand (XEXP (value, 0), NULL), target,
+      convert_move (target, force_operand (XEXP (value, 0), NULL),
                    code == ZERO_EXTEND);
       return target;
     }