diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c82c8f22f2f..e6dd0f77913 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Mon Mar 1 16:36:18 1999 Jeffrey A Law (law@cygnus.com) + + * mips.md (div_trap_normal, div_trap_mips16): Require the dependent + insn to be an INSN before looking at its pattern. + Mon Mar 1 15:03:51 1999 Jim Wilson * config/m68k/lb1sf68.asm (udivsi3): Change jmi to jcs. Fix comments. diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index 71bd9a65edf..f66cb89d908 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -2441,6 +2441,7 @@ for (link = LOG_LINKS (insn); link; link = XEXP (link, 1)) if ((int) REG_DEP_ANTI == (int) REG_NOTE_KIND (link) + && GET_CODE (XEXP (link, 0)) == INSN && GET_CODE (PATTERN (XEXP (link, 0))) == TRAP_IF && REGNO (operands[1]) == 0) have_dep_anti = 1; @@ -2485,6 +2486,7 @@ for (link = LOG_LINKS (insn); link; link = XEXP (link, 1)) if ((int) REG_DEP_ANTI == (int) REG_NOTE_KIND (link) + && GET_CODE (XEXP (link, 0)) == INSN && GET_CODE (PATTERN (XEXP (link, 0))) == TRAP_IF && REGNO (operands[1]) == 0) have_dep_anti = 1;