Hi, this is the 4th version of the patch.

mainly address Martin’s comments on some spelling issues.

I have tested the patch on both x86 and aarch64, no issue.

Okay for commit?

thanks.

Qing.

gcc/ChangeLog

+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. 

gcc/testsuite/ChangeLog

+2018-09-20  Qing Zhao  <qing.z...@oracle.com>
+
+       * gcc.dg/inline_only_static.c: New test.
+

Attachment: New-inline-only-static.patch
Description: Binary data

Reply via email to