* flow.c (verify_flow_info): Check for unconditional return.

From-SVN: r32565
This commit is contained in:
Jason Eckhardt 2000-03-15 20:24:35 +00:00 committed by Jason Eckhardt
parent 9525c69003
commit 2ca19d5e9e
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Wed Mar 15 14:28:54 2000 Jason Eckhardt <jle@cygnus.com>
* flow.c (verify_flow_info): Check for unconditional return.
Wed Mar 15 11:34:27 2000 Jim Wilson <wilson@cygnus.com>
* config/ia64/ia64.md (restore_stack_nonlocal): New.

View File

@ -5991,7 +5991,7 @@ verify_flow_info ()
if (GET_RTX_CLASS (GET_CODE (x)) == 'i'
&& GET_CODE (x) == JUMP_INSN
&& returnjump_p (x)
&& returnjump_p (x) && ! condjump_p (x)
&& ! (NEXT_INSN (x) && GET_CODE (NEXT_INSN (x)) == BARRIER))
fatal_insn ("Return not followed by barrier", x);