]> gcc.gnu.org Git - gcc.git/commit
re PR tree-optimization/89730 (-flive-patching=inline-only-static should grant always...
authorQing Zhao <qing.zhao@oracle.com>
Wed, 3 Apr 2019 19:00:25 +0000 (19:00 +0000)
committerQing Zhao <qinzhao@gcc.gnu.org>
Wed, 3 Apr 2019 19:00:25 +0000 (19:00 +0000)
commitbc53dee0baa3f3e06c89081ef01f506037acd1ff
tree1359705dd1bd4a15b210b350955d780748b788f8
parentc1d9a8f5904a22f2e1e8ec8f52a9dde30c560809
re PR tree-optimization/89730 (-flive-patching=inline-only-static should grant always_inline attribute for extern function)

2019-04-03  qing zhao  <qing.zhao@oracle.com>

PR tree-optimization/89730
* ipa-inline.c (can_inline_edge_p): Delete the checking for
-flive-patching=inline-only-static.
(can_inline_edge_by_limits_p): Add the checking for
-flive-patching=inline-only-static and grant always_inline
even when -flive-patching=inline-only-static is specified.

* gcc.dg/live-patching-4.c: New test.

From-SVN: r270134
gcc/ChangeLog
gcc/ipa-inline.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/live-patching-4.c [new file with mode: 0644]
This page took 0.064096 seconds and 5 git commands to generate.