On Thu, Mar 28, 2019 at 6:53 PM Qing Zhao <qing.z...@oracle.com> wrote: > > > > On Mar 28, 2019, at 11:30 AM, Qing Zhao <qing.z...@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.
OK. Thanks, Richard. > qing > > > > the new patch is as following: > > > > Okay for trunk? > > > > thanks. > > > > Qing > > > > gcc/ChangeLog: > > > > 2019-03-28 qing zhao <qing.z...@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.z...@oracle.com> > > > > PR tree-optimization/89730 > > * gcc.dg/live-patching-4.c: New test. > > > > <fixing-PR89730.patch> >