PR middle-end/47788
* ipa-inline.c (compute_inline_parameters): Clear disregard_inline_limits
when function is not inlinable at all.
From-SVN: r170300
+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.
/* 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)