m68k.md error (egcs 1.1)

Jeffrey A Law law@cygnus.com
Sat Sep 5 15:44:00 GMT 1998


  In message < 199809042232.AAA04310@sophie.matematik.su.se >you write:
  > The zero_extendsidi2 pattern of m68k.md contains this code:
  > 
  >   else
  >     operands[2] = adj_offsettable_operand (operands[0], 4);
  >   if (GET_CODE (operands[1]) != REG || GET_CODE (operands[1]) != REG
  >       || REGNO (operands[1]) != REGNO (operands[2]))
  >     output_asm_insn (\"move%.l %1,%2\", operands);
  > 
  > Obviously, the 2nd
  > 
  > 	GET_CODE (operands[1]) != REG
  > 
  > should be like this instead:
  > 
  > 	GET_CODE (operands[2]) != REG
Thanks.  Fixed on both the branch and the mainline sources.
jeff



More information about the Gcc mailing list