Message ID | 20110218230853.GB3494@kam.mff.cuni.cz |
---|---|
State | New |
Headers | show |
Index: ipa-inline.c =================================================================== --- ipa-inline.c (revision 170249) +++ ipa-inline.c (working copy) @@ -1990,6 +1990,8 @@ compute_inline_parameters (struct cgraph /* 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)