https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116080
--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Andi Kleen <a...@gcc.gnu.org>: https://gcc.gnu.org/g:ee41cd863b7c38ee3bc415ea7154954aa6facca3 commit r15-2339-gee41cd863b7c38ee3bc415ea7154954aa6facca3 Author: Andi Kleen <a...@gcc.gnu.org> Date: Wed Jul 24 20:18:56 2024 -0700 PR116080: Fix tail call dejagnu checks - Run the target_effective tail_call checks without optimization to match the actual test cases. - Add an extra check for external tail calls to handle targets like powerpc that cannot tail call between different object files. This one will also cover templates. gcc/testsuite/ChangeLog: PR testsuite/116080 * g++.dg/musttail10.C: Use external tail call target check. * g++.dg/musttail6.C: Dito. * lib/target-supports.exp: Add external_tail_call. Disable optimization for tail call checks.