re PR ipa/91194 (A suspicious condition in recursive_inlining)
authorJan Hubicka <hubicka@ucw.cz>
Fri, 19 Jul 2019 14:31:09 +0000 (16:31 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 19 Jul 2019 14:31:09 +0000 (14:31 +0000)
PR ipa/91194
* ipa-inline.c (recursive_inlining): Fix limits check.

From-SVN: r273603

gcc/ChangeLog
gcc/ipa-inline.c

index 96c0b96e1dfe12b0a9d604e63e0ad367c95e3587..2ccbcd1372fe937a87fe3f2ce81b58a2ffd54968 100644 (file)
@@ -1,3 +1,8 @@
+2019-07-19  Jan Hubicka  <hubicka@ucw.cz>
+
+       PR ipa/91194
+       * ipa-inline.c (recursive_inlining): Fix limits check.
+
 2019-07-19  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/91200
index e73006662ad597b61226587ddef67baa047a749c..5862d00008dacde03f31e1f023a348cbfa0e4938 100644 (file)
@@ -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