doloop_end not defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100528
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-06-02 Richard Henderson <rth@redhat.com>
+
+ * modulo-sched.c (doloop_register_get): Protect against
+ doloop_end not defined.
+
2005-06-02 Kazu Hirata <kazu@codesourcery.com>
* config/sh/sh.c (general_movsrc_operand,
or zero if it is not a decrement-and-branch insn. */
static rtx
-doloop_register_get (rtx insn)
+doloop_register_get (rtx insn ATTRIBUTE_UNUSED)
{
+#ifdef HAVE_doloop_end
rtx pattern, reg, condition;
if (! JUMP_P (insn))
gcc_unreachable ();
return reg;
+#else
+ return NULL_RTX;
+#endif
}
/* Check if COUNT_REG is set to a constant in the PRE_HEADER block, so