m68k/m68k.md typo?

Richard Zidlicky rz@linux-m68k.org
Sun Jul 21 10:27:00 GMT 2002


Hi,

this looks like a small typo, found in 3.1 branch and probably 
elsewhere. 
Btw we probably shouldn't generate that insn for 68060 target
but it appears it doesn't get generated very often which is
probably the reason nobody was bitten by this yet.

Richard

--- gcc-3.1-new/gcc/config/m68k/m68k.md	Tue Jan  1 00:00:00 2002
+++ gcc-3.1-new/gcc/config/m68k/m68k.md.fixed	Sun Jul 21 13:23:34 2002
@@ -3556,7 +3556,7 @@
   if (find_reg_note (insn, REG_UNUSED, operands[3]))
     return \"divs%.l %2,%0\";
   else
-    return \"divsl%.l %2,%3:%0\";
+    return \"divs%.l %2,%3:%0\";
 }")
 
 (define_insn "udivmodsi4"



More information about the Gcc mailing list