This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

m68k.md error (egcs 1.1)


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

Torbjorn


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]