Hi,
On 9/26/18 1:12 PM, Alexander Monakov wrote:
On Fri, 21 Sep 2018, Qing Zhao wrote:
+2018-09-20 Qing Zhao <qing.z...@oracle.com>
+
+ * cif-code.def (FUNCTION_EXTERN): New CIFCODE.
+ * common.opt (-finline-only-static): New option.
+ * doc/invoke.texi: Document -finline-only-static.
+ * ipa-inline.c (can_inline_edge_p): Control inlining based on
+ function's linkage.
Note, I am not a reviewer.
In my opinion, there's a problem with the patch that it looks like an ad-hoc,
incomplete solution.
It is not. Actually, I don't understand why we are raising this sort of
issue now, after so many messages, like, for example Jeff's, which
should have fully clarified the rationale.
Paolo.