re PR target/31733 (ICE in rtl_verify_flow_info, at cfgrtl.c:2050: {return_internal} (nil))

PR target/31733
	* cfgrtl.c (rtl_verify_flow_info): Skip notes when looking for barrier.

From-SVN: r125312
This commit is contained in:
Steve Ellcey 2007-06-04 15:58:12 +00:00 committed by Steve Ellcey
parent b1d849c109
commit 15eb3a2e59
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-06-04 Steve Ellcey <sje@cup.hp.com>
PR target/31733
* cfgrtl.c (rtl_verify_flow_info): Skip notes when looking for barrier.
2007-05-31 Jan Hubicka <jh@suse.cz>
* tree-predcom.c (replace_ref_with, initialize_root_vars_lm,

View File

@ -2044,7 +2044,7 @@ rtl_verify_flow_info (void)
if (JUMP_P (x)
&& returnjump_p (x) && ! condjump_p (x)
&& ! (NEXT_INSN (x) && BARRIER_P (NEXT_INSN (x))))
&& ! (next_nonnote_insn (x) && BARRIER_P (next_nonnote_insn (x))))
fatal_insn ("return not followed by barrier", x);
if (curr_bb && x == BB_END (curr_bb))
curr_bb = NULL;