Commit f84ae14c by Jan Hubicka Committed by Jan Hubicka

re PR lto/47788 (New LTO failures)


	PR middle-end/47788
	* ipa-inline.c (compute_inline_parameters): Clear disregard_inline_limits
	when function is not inlinable at all.

From-SVN: r170300
parent 6da97b7b
2011-02-18 Jan Hubicka <jh@suse.cz>
PR middle-end/47788
* ipa-inline.c (compute_inline_parameters): Clear disregard_inline_limits
when function is not inlinable at all.
2011-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* config.gcc (hppa[12]*-*-hpux11*): Set extra_parts.
......
......@@ -1990,6 +1990,8 @@ compute_inline_parameters (struct cgraph_node *node)
/* Can this function be inlined at all? */
node->local.inlinable = tree_inlinable_function_p (node->decl);
if (!node->local.inlinable)
node->local.disregard_inline_limits = 0;
/* Inlinable functions always can change signature. */
if (node->local.inlinable)
......
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