https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118174
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:f8b559626025d2466c2780af6b62560dda468647 commit r15-6484-gf8b559626025d2466c2780af6b62560dda468647 Author: Richard Biener <rguent...@suse.de> Date: Tue Dec 31 14:47:03 2024 +0100 middle-end/118174 - bogus TER of tailcall The following avoids applying TER to direct internal functions that are tailcall since the involved expansion code path doesn't honor TER constraints. PR middle-end/118174 * tree-outof-ssa.cc (ssa_is_replaceable_p): Exclude tailcalls. * gcc.dg/torture/pr118174.c: New testcase.