aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgrtl.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-02-09 12:06:41 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2003-02-09 11:06:41 +0000
commit83fd323c4c5fd8f067803028a71870b0dfd8ae30 (patch)
tree6b24a29133ae24969b1e27da72dcf451d715b9fb /gcc/cfgrtl.c
parent4ee7aa6044a246fc809522b75d67ed12bd03ffc1 (diff)
downloadgcc-83fd323c4c5fd8f067803028a71870b0dfd8ae30.zip
gcc-83fd323c4c5fd8f067803028a71870b0dfd8ae30.tar.gz
gcc-83fd323c4c5fd8f067803028a71870b0dfd8ae30.tar.bz2
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
Diffstat (limited to 'gcc/cfgrtl.c')
-rw-r--r--gcc/cfgrtl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c
index 07f4a8c..5209aa2 100644
--- a/gcc/cfgrtl.c
+++ b/gcc/cfgrtl.c
@@ -2008,9 +2008,7 @@ verify_flow_info ()
if (x == bb->end)
break;
- if (GET_CODE (x) == JUMP_INSN
- || GET_CODE (x) == CODE_LABEL
- || GET_CODE (x) == BARRIER)
+ if (control_flow_insn_p (x))
{
error ("in basic block %d:", bb->index);
fatal_insn ("flow control insn inside a basic block", x);