[PATCH][Tree-optimization/PR89730]grant always_inline when -flive-patching=inline-only-static
Qing Zhao
qing.zhao@oracle.com
Thu Mar 28 18:03:00 GMT 2019
> On Mar 28, 2019, at 11:30 AM, Qing Zhao <qing.zhao@oracle.com> wrote:
>
> Thanks.
>
> I updated ipa-inline.c as you suggested, and tested the gcc with all live-patching-*.c testing cases, all were fine.
> bootstrapped on aarch64, and now the regression testing is running.
the regression test passed without any issue.
qing
>
> the new patch is as following:
>
> Okay for trunk?
>
> thanks.
>
> Qing
>
> gcc/ChangeLog:
>
> 2019-03-28 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/testsuite/ChangeLog:
>
> 2019-03-28 qing zhao <qing.zhao@oracle.com>
>
> PR tree-optimization/89730
> * gcc.dg/live-patching-4.c: New test.
>
> <fixing-PR89730.patch>
More information about the Gcc-patches
mailing list