Only check machine class insns for improper emission of a RETURN

From-SVN: r31623
This commit is contained in:
Nick Clifton 2000-01-26 01:23:26 +00:00 committed by Nick Clifton
parent 8de7c9a0eb
commit 78340c9f9f
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2000-01-25 Nick Clifton <nickc@redhat.com>
* emit-rtl.c (emit_insn): Only check machine class insns for
improper emission of a RETURN.
2000-01-25 Richard Henderson <rth@cygnus.com>
* Makefile.in (flow.o): Depend on $(EXPR_H).

View File

@ -2961,6 +2961,7 @@ emit_insn (pattern)
#ifdef ENABLE_RTL_CHECKING
if (insn
&& GET_RTX_CLASS (GET_CODE (insn)) == 'i'
&& (returnjump_p (insn)
|| (GET_CODE (insn) == SET
&& SET_DEST (insn) == pc_rtx)))