https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128950
--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Kyrylo Tkachov <[email protected]>: https://gcc.gnu.org/g:267e7e2b2aa3623d668e0e2ac4336fbff136e557 commit r17-6591-g267e7e2b2aa3623d668e0e2ac4336fbff136e557 Author: Kyrylo Tkachov <[email protected]> Date: Mon Nov 23 01:01:05 2026 -0800 testsuite: Raise early-inlining-insns in inline-aggregate-retval tests [PR testsuite/128950] The tests added with the return-slot copy credit in ipa-fnsummary use --param early-inlining-insns=14. On hppa64-hp-hpux11.11 the inlined body of 'mul' has size 26 and the call statement has size 11, so the growth is 15. That is above 14 and the early inliner does not inline 'mul'. On aarch64 and x86_64 the call statement has size 12 and the tests pass with a limit of 11. The tests exist to check that the copy into the return slot is credited. Without the credit the copy adds to the growth. On aarch64 and x86_64 the tests then fail with any limit up to 18. On hppa64 the copy adds 16, so the growth is 31 without the credit and 15 with it. A limit of 16 is above the growth with the credit on all three targets and below the growth without it, so the tests still fail when the credit is missing. Raise the limit from 14 to 16 in both tests. gcc/testsuite/ChangeLog: PR testsuite/128950 * g++.dg/ipa/inline-aggregate-retval.C: Raise --param early-inlining-insns to 16. * gcc.dg/ipa/inline-aggregate-retval.c: Likewise. Signed-off-by: Kyrylo Tkachov <[email protected]>
