Hi, this patch fixes bug in recursive_inlining noticed by Feng Xue. Bootstrapped/regtested x86_64-linux, comitted.
Honza Index: ChangeLog =================================================================== --- ChangeLog (revision 273602) +++ ChangeLog (working copy) @@ -1,3 +1,8 @@ +2019-07-19 Jan Hubicka <hubi...@ucw.cz> + + PR ipa/91194 + * ipa-inline.c (recursive_inlining): Fix limits check. + 2019-07-19 Richard Biener <rguent...@suse.de> PR tree-optimization/91200 Index: ipa-inline.c =================================================================== --- ipa-inline.c (revision 273570) +++ ipa-inline.c (working copy) @@ -1504,7 +1504,7 @@ recursive_inlining (struct cgraph_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