aboutsummaryrefslogtreecommitdiff
path: root/gcc/basic-block.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2013-11-15 14:11:50 -0700
committerJeff Law <law@gcc.gnu.org>2013-11-15 14:11:50 -0700
commit6efe83b22e076ba8a2601ce0c31b8d4130d72704 (patch)
tree94fdd0bc7bfd3fe5085e85d1819ed803b207fc53 /gcc/basic-block.h
parentf0d3309e9b5700f73d88c01193eb701a2f4ef985 (diff)
downloadgcc-6efe83b22e076ba8a2601ce0c31b8d4130d72704.zip
gcc-6efe83b22e076ba8a2601ce0c31b8d4130d72704.tar.gz
gcc-6efe83b22e076ba8a2601ce0c31b8d4130d72704.tar.bz2
basic-block.h (has_abnormal_or_eh_outgoing_edge): Renamed from has_abnormal_or_outgoing_edge.
* basic-block.h (has_abnormal_or_eh_outgoing_edge): Renamed from has_abnormal_or_outgoing_edge. Check for EH edges as well. * gimple-ssa-isolate-paths.c (find_implicit_erroneous_behaviour): Corresponding changes. Do not check stmt_ends_bb_p or GIMPLE_RETURN anymore. (find_explicit_erroneous_behaviour): Likewise. From-SVN: r204861
Diffstat (limited to 'gcc/basic-block.h')
-rw-r--r--gcc/basic-block.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/basic-block.h b/gcc/basic-block.h
index b7e3b50..fd16812 100644
--- a/gcc/basic-block.h
+++ b/gcc/basic-block.h
@@ -1012,13 +1012,13 @@ inverse_probability (int prob1)
/* Return true if BB has at least one abnormal outgoing edge. */
static inline bool
-has_abnormal_outgoing_edge_p (basic_block bb)
+has_abnormal_or_eh_outgoing_edge_p (basic_block bb)
{
edge e;
edge_iterator ei;
FOR_EACH_EDGE (e, ei, bb->succs)
- if (e->flags & EDGE_ABNORMAL)
+ if (e->flags & (EDGE_ABNORMAL | EDGE_EH))
return true;
return false;