From 487f99d2ab1d0db37eb0c68290d81b77539155ed Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Mon, 1 Mar 1999 15:44:24 +0000 Subject: mips.md (div_trap_normal, [...]): Require the dependent insn to be an INSN before looking at its pattern. * mips.md (div_trap_normal, div_trap_mips16): Require the dependent insn to be an INSN before looking at its pattern. From-SVN: r25517 --- gcc/ChangeLog | 5 +++++ gcc/config/mips/mips.md | 2 ++ 2 files changed, 7 insertions(+) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c82c8f2..e6dd0f7 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 71bd9a6..f66cb89 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; -- cgit v1.1