Commit 26cae194 by Kazu Hirata Committed by Kazu Hirata

cfgrtl.c (rtl_verify_flow_info): Don't use INSN_P when checking if an…

cfgrtl.c (rtl_verify_flow_info): Don't use INSN_P when checking if an unconditional return is followed by a barrier.

	* cfgrtl.c (rtl_verify_flow_info): Don't use INSN_P when
	checking if an unconditional return is followed by a barrier.

From-SVN: r90819
parent d6be0d7f
2004-11-17 Kazu Hirata <kazu@cs.umass.edu>
* cfgrtl.c (rtl_verify_flow_info): Don't use INSN_P when
checking if an unconditional return is followed by a barrier.
2004-11-17 Jeff Law <law@redhat.com>
* tree-cfg.c (edge_to_cases): Renamed from edge_to_case_leader.
......
......@@ -2256,8 +2256,7 @@ rtl_verify_flow_info (void)
}
}
if (INSN_P (x)
&& JUMP_P (x)
if (JUMP_P (x)
&& returnjump_p (x) && ! condjump_p (x)
&& ! (NEXT_INSN (x) && BARRIER_P (NEXT_INSN (x))))
fatal_insn ("return not followed by barrier", x);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment