This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re:
- To: Jan Hubicka <hubicka at atrey dot karlin dot mff dot cuni dot cz>
- Subject: Re:
- From: grahams <grahams at rcp dot co dot uk>
- Date: Mon, 24 Apr 2000 13:25:47 +0100
- CC: gcc-patches at gcc dot gnu dot org
- References: <200004180508.BAA08466@jwlab.FEITH.COM> <20000423104611.B6170@atrey.karlin.mff.cuni.cz>
Jan
Your last checkin to loop.c (revision 1.243) contains a typo.
The typo is indicated in this extract from your patch note your
change reversed the test from "not insn" to "is insn".
@@ -4124,13 +4123,13 @@
for (next = NEXT_INSN (dominator); ; next = NEXT_INSN (next))
{
- if ((GET_RTX_CLASS (GET_CODE (next)) == 'i'
+ if ((INSN_P (next)
&& (reg_mentioned_p (giv, PATTERN (next))
|| reg_set_p (bl2->biv->src_reg, next)))
|| GET_CODE (next) == JUMP_INSN)
break;
#ifdef HAVE_cc0
- if (GET_RTX_CLASS (GET_CODE (next)) != 'i'
+ if (INSN_P (next)
^^^^ typo this should be ! INSN_P (next)
|| ! sets_cc0_p (PATTERN (next)))
#endif
dominator = next;
Graham