checking if an unconditional return is followed by a barrier.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90819
138bc75d-0d04-0410-961f-
82ee72b054a4
+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.
}
}
- 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);