This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][Tree-optimization/PR89730]grant always_inline when -flive-patching=inline-only-static


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

Attachment: fixing-PR89730.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]