re PR target/9068 ([x86] comisd & comiss constraints are incorrect)
authorJan Hubicka <jh@suse.cz>
Sat, 11 Jan 2003 10:07:57 +0000 (11:07 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 11 Jan 2003 10:07:57 +0000 (10:07 +0000)
PR target/9068
* i386.c (output_fp_compare): Fix typo.

From-SVN: r61199

gcc/ChangeLog
gcc/config/i386/i386.c

index b8fa9fb49427df45a21a21eefb5981b5c811bbf8..6eb43928308b12e890ddcaa7c2dd40a4d11523f0 100644 (file)
@@ -1,3 +1,8 @@
+Sat Jan 11 11:02:58 CET 2003  Jan Hubicka  <jh@suse.cz>
+
+       PR target/9068
+       * i386.c (output_fp_compare): Fix typo.
+
 2003-01-10  David Edelsohn  <edelsohn@gnu.org>
 
        * config/rs6000/rs6000.c (common_mode_defined): Mark for PCH.
index 682fa897d0b077067a1d7df166b9fdb48f23e58a..dbbf775d0c3cb6b62b7600a30c49ea8b87dd2c0a 100644 (file)
@@ -7775,12 +7775,12 @@ output_fp_compare (insn, operands, eflags_p, unordered_p)
        if (unordered_p)
          return "ucomiss\t{%1, %0|%0, %1}";
        else
-         return "comiss\t{%1, %0|%0, %y}";
+         return "comiss\t{%1, %0|%0, %1}";
       else
        if (unordered_p)
          return "ucomisd\t{%1, %0|%0, %1}";
        else
-         return "comisd\t{%1, %0|%0, %y}";
+         return "comisd\t{%1, %0|%0, %1}";
     }
 
   if (! STACK_TOP_P (cmp_op0))
@@ -9612,7 +9612,7 @@ ix86_expand_int_movcc (operands)
          if (!rtx_equal_p (tmp, out))
            {
              if (nops == 1)
-               out = force_operand (tmp, out);
+               out = force_operand (tmp, copy_rtx (out));
              else
                emit_insn (gen_rtx_SET (VOIDmode, copy_rtx (out), copy_rtx (tmp)));
            }