From: Jan Hubicka Date: Fri, 19 Jul 2019 14:31:09 +0000 (+0200) Subject: re PR ipa/91194 (A suspicious condition in recursive_inlining) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4eb503965ac70e747fa03a5298c1c9af04580c95;p=gcc.git re PR ipa/91194 (A suspicious condition in recursive_inlining) PR ipa/91194 * ipa-inline.c (recursive_inlining): Fix limits check. From-SVN: r273603 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 96c0b96e1df..2ccbcd1372f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-07-19 Jan Hubicka + + PR ipa/91194 + * ipa-inline.c (recursive_inlining): Fix limits check. + 2019-07-19 Richard Biener PR tree-optimization/91200 diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c index e73006662ad..5862d00008d 100644 --- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -1504,7 +1504,7 @@ recursive_inlining (struct cgraph_edge *edge, struct cgraph_node *cnode, *dest = curr->callee; if (!can_inline_edge_p (curr, true) - || can_inline_edge_by_limits_p (curr, true)) + || !can_inline_edge_by_limits_p (curr, true)) continue; /* MASTER_CLONE is produced in the case we already started modified