https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119493
--- Comment #21 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:b0120fa9838f8fbeb13301d03b01cad282941569 commit r16-180-gb0120fa9838f8fbeb13301d03b01cad282941569 Author: Jakub Jelinek <ja...@redhat.com> Date: Mon Apr 28 09:22:50 2025 +0200 tailc: Improve tail recursion handling [PR119493] Here is a patch to improve the tail recursion handling also for non-musttail calls. 2025-04-28 Jakub Jelinek <ja...@redhat.com> PR tree-optimization/119493 * tree-tailcall.cc (find_tail_calls): Handle non-gimple_reg_type arguments which aren't just passed through for tail recursions even for non-musttail calls.