Commit 83fd323c by Jan Hubicka Committed by Jan Hubicka

cfgrtl.c (verify_flow_info): Use control_flow_insn_p.

	* cfgrtl.c (verify_flow_info):  Use control_flow_insn_p.
	* reload1.c (fixup_abnormal_edges):  Split basic blocks when EH edges
	possibly got duplicated.

From-SVN: r62599
parent 4ee7aa60
Sat Feb 8 00:21:22 CET 2003 Jan Hubicka <jh@suse.cz>
* cfgrtl.c (verify_flow_info): Use control_flow_insn_p.
* reload1.c (fixup_abnormal_edges): Split basic blocks when EH edges
possibly got duplicated.
2003-02-08 Richard Henderson <rth@redhat.com> 2003-02-08 Richard Henderson <rth@redhat.com>
* config/alpha/alpha.c (override_options): Turn off explicit * config/alpha/alpha.c (override_options): Turn off explicit
......
...@@ -2008,9 +2008,7 @@ verify_flow_info () ...@@ -2008,9 +2008,7 @@ verify_flow_info ()
if (x == bb->end) if (x == bb->end)
break; break;
if (GET_CODE (x) == JUMP_INSN if (control_flow_insn_p (x))
|| GET_CODE (x) == CODE_LABEL
|| GET_CODE (x) == BARRIER)
{ {
error ("in basic block %d:", bb->index); error ("in basic block %d:", bb->index);
fatal_insn ("flow control insn inside a basic block", x); fatal_insn ("flow control insn inside a basic block", x);
......
...@@ -9533,6 +9533,14 @@ fixup_abnormal_edges () ...@@ -9533,6 +9533,14 @@ fixup_abnormal_edges ()
} }
} }
} }
/* We've possibly turned single trapping insn into multiple ones. */
if (flag_non_call_exceptions)
{
sbitmap blocks;
blocks = sbitmap_alloc (last_basic_block);
sbitmap_ones (blocks);
find_many_sub_basic_blocks (blocks);
}
if (inserted) if (inserted)
commit_edge_insertions (); commit_edge_insertions ();
} }
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