Commit 4eb50396 by Jan Hubicka Committed by Jan Hubicka

re PR ipa/91194 (A suspicious condition in recursive_inlining)

	PR ipa/91194
	* ipa-inline.c (recursive_inlining): Fix limits check.

From-SVN: r273603
parent a263e61a
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> 2019-07-19 Richard Biener <rguenther@suse.de>
PR tree-optimization/91200 PR tree-optimization/91200
......
...@@ -1504,7 +1504,7 @@ recursive_inlining (struct cgraph_edge *edge, ...@@ -1504,7 +1504,7 @@ recursive_inlining (struct cgraph_edge *edge,
struct cgraph_node *cnode, *dest = curr->callee; struct cgraph_node *cnode, *dest = curr->callee;
if (!can_inline_edge_p (curr, true) if (!can_inline_edge_p (curr, true)
|| can_inline_edge_by_limits_p (curr, true)) || !can_inline_edge_by_limits_p (curr, true))
continue; continue;
/* MASTER_CLONE is produced in the case we already started modified /* MASTER_CLONE is produced in the case we already started modified
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment