[patch] Tame fix for PR ipa/99122

Eric Botcazou botcazou@adacore.com
Wed Jun 2 12:02:45 GMT 2021


Hi,

as explained in the audit trail, the return part has a major performance 
impact in Ada where variable-sized types are first-class citizens, but it 
turns out that it is not exercized in the testsuite yet.

Tested on x86-64/Linux, OK for mainline and 11 branch?


2021-06-02  Eric Botcazou  <ebotcazou@adacore.com>

	PR ipa/99122
	* tree-inline.c (inline_forbidden_p): Remove test on return type.


2021-06-02  Eric Botcazou  <ebotcazou@adacore.com>

	* gnat.dg/inline22.adb: New test.

-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-patch
Size: 1158 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210602/ec2074e4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inline22.adb
Type: text/x-adasrc
Size: 303 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210602/ec2074e4/attachment-0001.bin>


More information about the Gcc-patches mailing list