aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8/gcc/value-prof.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8/gcc/value-prof.c')
-rw-r--r--gcc-4.8/gcc/value-prof.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc-4.8/gcc/value-prof.c b/gcc-4.8/gcc/value-prof.c
index c120c82ad..c319d3464 100644
--- a/gcc-4.8/gcc/value-prof.c
+++ b/gcc-4.8/gcc/value-prof.c
@@ -1270,8 +1270,7 @@ gimple_ic (gimple icall_stmt, struct cgraph_node *direct_call,
/* Build an EH edge for the direct call if necessary. */
lp_nr = lookup_stmt_eh_lp (icall_stmt);
- if (lp_nr != 0
- && stmt_could_throw_p (dcall_stmt))
+ if (lp_nr > 0 && stmt_could_throw_p (dcall_stmt))
{
edge e_eh, e;
edge_iterator ei;