* value-prof.c (gimple_ic): Fix the bug of adding EH edge.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201859
138bc75d-0d04-0410-961f-
82ee72b054a4
+2013-08-19 Dehao Chen (dehao@google.com)
+
+ * value-prof.c (gimple_ic): Fix the bug of adding EH edge.
+
2013-08-19 Peter Bergner <bergner@vnet.ibm.com>
Jakub Jelinek <jakub@redhat.com>
/* 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;